The median of the following incomplete frequency distribution is 10:

x= 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8
f= 0 , 2 , 5 , 6, 3 , 1 , 2 , Y
Calculate the frequency of 8

How can the median be 10, if the maximum score is 8?