The ratio of number of boys and girls is 4:3. If there are 18 girls in a class, then find the total number of students in the class.