There are 42 students in the first class of the fifth grade, and 48 students in the second class. Each class is required to participate in tree planting activities in groups. If the number of people in each group of the two classes is the same, how many people can each group have at most?
五年级一班有42人，二班有48人．要求各班分组参加植树活动，如果两个班每组的人数相同，每组最多有多少人？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>