A class of 25 students took a math test. Ten students had an average of 88. The other students had an average of 76.

What is the average of the whole class?