In the sixth grade of a certain school, there are 48 boys and 36 girls. When taking a group photo for graduation, the boys and girls stand in several rows, and the number of people in each row should be the same. What is the maximum number of people in each row?
某校六年级有男生48人，女生36人．毕业合影时，男生女生分别站成若干排，要使每排的人数相同，每排最多有多少人．
<gadget id="calculator">2 * 2 * 3</gadget>
<output>12</output>

<result>12</result>