In Ms. Perron’s class, 75% of the students are boys. There are 18 boys in the class. What is the total number of students in Ms. Perron’s class?

A:6
B:14
C:24
D:57