The ratio of boys to girls in Ms. Cunningham's cass is 2 to 3. There are 18 girls in the class.
What is the total number of students in Ms. Cunningham's class?
A 12
B 30
C45
D27