A teacher has a class with 24 students in it. If she wants to split the students into equal groups of at most 10 students each, what is the least number of groups that she needs?