Elise won 40 lollipops and the school fair. she gave 2 to every student in her math class and has at least 7 left. what is the maximum number of students in her class?