The median of the following data is 525. Find the values of x and y, if total frequency is 100

Class                                        Frequency                           

0-100                                                  2

100-200                                            5

200-300                                             9

300-400                                            x

400-500                                        17

500-600                                         y

600-700                                       15

700-800                                        9

800-900                                       7

900-1000                                      4

sanya raza's image