There are 24 boys and 16 girls in class 2 of the fifth grade. They line up in the morning exercise. If the number of boys and girls in each row is the same, how many rows should they line up at least?
五年级2班有24名男生和16名女生，早上做操时排队，如果每排男生和女生的人数都相同，最少排几排？
<result>2</result>