77. The teacher asked Xiao Ma to help calculate the class average score for the math exam. Xiao Ma mistakenly saw his own score of 91 as 19, and calculated the average score as 87. After the teacher discovered the error and recalculated, the correct average score was 90. There are $\qquad$ students in the class.
Reference answer: 24

Key point: Solving problems with errors