Question
Mr. Gupta has two classes. Each class has 12 and 18 students, respectively. Mr. Patil wants to divide each class into groups so that every group in every class has the same number of students and there are no students left over. What is the maximum number of students Mr. Patil can put into each group?