The fifth grade students participate in the tree planting activity, the number is between 30 and 50 people, if there are groups of 6 or 8, they are all divided exactly. How many people in the fifth grade participated in the tree planting?
五年级学生参加植树活动，人数在30到50人之间，如果6人一组或8人一组，都恰好分完．五年级有多少人参加了植树？
<gadget id="calculator">2 * 2 * 2 * 3</gadget>
<output>24</output>

<gadget id="calculator">24 * 2</gadget>
<output>48</output>

<result>48</result>