Divide 40 male students and 36 female students into study groups. In each group, boys and girls are equal. How many groups can they be divided into?
将40名男同学和36名女同学分成学习小组，每组男生相等，女生也相等，最多能分几组？
<gadget id="calculator">2 * 2</gadget>
<output>4</output>

<result>4</result>