Mrs. Oscar has 24,28and 32 students in her first three science classes. She divided the students in each class into equally sized groups for an activity.If each group had the same number of students in all of classes, what is the greatest number of students in each group?