AMC8 2008 Problem 20

The students in Mr. Neatkin’s class took a penmanship test. Two-thirds of the boys and \dfrac{3}{4} of the girls passed the test, and an equal number of boys and girls passed the test. What is the minimum possible number of students in the class?

Answer Choices
A. 12
B. 17
C. 24
D. 27
E. 36