In the class, each boy is friends with exactly two girls, and each girl is friends with exactly three boys. It is also known that there are 31 pioneers and 19 desks in the class. How many people are in this class?

#
The number of "friendly connections" in the class is three times the number of girls and twice the number of boys. This means that the number of boys to the number of girls is in the ratio of $3: 2$, and the total number of students is divisible by 5. On the other hand, there are no fewer than 31 and no more than 38 students in the class. Therefore, there are 35.

## Answer

35 people.