The average exam score for 10 students in bio statistics course is 85. one student dropped the class, the average exam score changed to 90. what was the exam score of the student who dropped the class.

My answer was as follows :
I found the sum of the scores of the students before and after the student dropped the class and then I obtained the difference between them which I guess would be the score of the dropped student.