there are between 24 and 40 students in class
the ratio of boys to girls is 4:7
how many students are in the class?