Question 4
The total number of students (girls and boys) and teachers in a school is 2024. The girls are at least as many as the teachers and the teachers are at least as many as the boys. All of them are standing in a row. It is known that there is exactly one teacher between any two consecutive girls, and there is exactly one boy between any two consecutive teachers. What is the number of teachers in the school?