There are 24 boys and 18 girls in Class 3, Class 1 of Hongxing Primary School. In the autumn outing, Mr. Li is divided into groups of 6 people. How many groups can they be divided into?
红星小学三1班有男生24人，女生18人．在秋游活动中，李老师按照每6人分成一组，一共可以分多少组？
<gadget id="calculator">24 + 18</gadget>
<output>42</output>

<gadget id="calculator">42 / 6</gadget>
<output>7</output>

<result>7</result>