There are 48 students in class 1 and 54 students in class 2 of the fifth grade. If students in both classes are divided into several groups on average, how many people can each group have at most if the number of students in each group of the two classes is to be equal?
五年级1班有48人，2班有54人，如果把两个班的学生都平均分成若干组，要使两个班每个小组的人数相等，每组最多有多少个人？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>