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