By arranging the numbers in ascending order
We get
17, 17, 19, 19, 20, 21, 22, 23, 24, 25, 26, 29, 31, 35, 40
We know that n = 15 which is odd
So we get
Median = ½ (n + 1)th term
By substituting the values
Median = ½ (15 + 1)th term
It can be written as
Median = value of the 8th term = 23
Therefore, the median score is 23.