In the fifth grade, there are 48 boys and 40 girls. They should be divided into several groups to participate in the tree planting activity. It is required that the number of boys and girls in each group should be equal, and there should be no surplus. How many groups can be divided into at most.
五年级有男生48人，女生40人，要分成若干小组参加植树活动，要求每组中男生人数相等，女生人数也相等，且没有剩余．最多可以分成多少个组．
<gadget id="calculator">2 * 2 * 2</gadget>
<output>8</output>

<result>8</result>