CAYLEY 1998 Problem 19

Mr. Anderson has more than 25 students in his class. He has more than 2 but fewer than 10 boys and more than 14 but fewer than 23 girls in his class. How many different class sizes would satisfy these conditions?

Answer Choices
A. 5
B. 6
C. 7
D. 3
E. 4