Problem 1. In one school, there are 32 classes. Of these, 6 classes have 29 students each, 8 classes have 30 students each, 2 classes have 31 students each, and the remaining classes have 32 students each. What is the total number of students in the school?
Solution. The number of parallel classes with 32 students is $32-6-8-2=16$. The total number of students is

$$
6 \cdot 29+8 \cdot 30+2 \cdot 31+16 \cdot 32=174+240+62+512=988
$$