There are 48 people in Class 1 and 54 in Class 2. If the students in the two classes are equally divided into several groups, to make the number of groups in the two classes equal, what is the maximum number of students in each group?
四1班有48人，四2班有54人．如果把两个班的学生都平均分成若干组，要使两个班每个小组的人数相等，每组最多有多少人？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>