A class obtained the following scores on a test. Find the mean, the median, the mode, and the range for the class.

Test Score Frequency
90 2
80 2
70 12
60 4
50 3
40 2
(a) Find the mean =

I had the median, mode and the range correct except the Mean, please help.
Correct: Your answer is correct.

Add all of the scores and divide by 25 to find the mean.

2(90) + 2(80) + 12(70), etc.