Classes 1 and 2 of the fifth grade have to complete the cleaning task. 48 people came from class 51, and 54 people came from class 52. If the students in the two classes are divided into several groups, the number of people in each group of the two classes should be the same, what is the maximum number of students in each group?
五年级1、2班要完成大扫除任务．五1班来了48人，五2班来了54人．如果把两个班的学生分别分成若干小组，要使两个班每个小组的人数相同，每组最多有多少人？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>