The fifth grade students participate in the tree planting activity. The number is between 30 and 50 people. If they are divided into groups of 3, 4, 6 or 8, they will be divided exactly. How many students in the fifth grade participated in tree planting?
五年级学生参加植树活动，人数在30和50人之间，如果分3人一组，4人一组，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>