There are between 24 to 40 students in a class.
The ratio of boys to girls is 4:7
How many students are in the class?