The ratio to boys to girls in Ms.chunningham's class is 2 to 3. There are 18 girls in the class.What is the total number of students in ms.chunningham's class?

A. 12

B. 30

C.45

D.27​