On March 12 this year, some fifth grade students participated in the tree planting activity. The number of students was between 30 and 50. If they were divided into groups of 4, 6 or 8, they would all be divided exactly. How many students in the fifth grade participated in tree planting?
今年3月12日，五年级有一部分学生参加了植树活动，人数在30和50人之间，如果分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>