1. In the new school, 180 boys and 192 girls have enrolled. The classes are organized so that all classes have the same number of students and in each class, there is an equal number of boys. Each class has a maximum of 40 students. How many boys and how many girls are there in each class?
1. There are 372 students enrolled in the school.

Let's factorize the number 372 into prime factors:

$372=2 \cdot 2 \cdot 3 \cdot 31$

There are 180 boys enrolled in the school.

Let's factorize the number 180 into prime factors:

$180=2 \cdot 2 \cdot 3 \cdot 3 \cdot 5$

Since there are no more than 40 students in each class, and the number of classes must be a divisor of 180, it follows that the students are divided into 12 classes, each with 31 students.

By dividing the total number of boys by the number of classes, we get that the number of boys per class is 15.

The number of girls in each class is 16.