Every year, the students at a school are given a musical aptitude test that rates them from 0 (no musical aptitude) to 5 (high musical aptitude). This year's results were:

Aptitude Score012345
Frequency410534


The average (mean) aptitude score:

The median aptitude score: