There are 18 girls and 24 boys in Class 6. Now we want to organize a group activity, divide them into several groups with equal numbers, and the number of boys in each group should also be equal, so how many groups can they be divided into at most?
六1班有18名女生和24名男生，现要组织一次小队活动，将他们分成人数相等的若干个小组，而且每个小组中的男生人数也要相等，那么最多可分成多少组．
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>