Class 2 of the fifth year participated in the tree planting activity. The number of students was between 40 and 50. If they were divided into groups of 4 or 6, they would all be divided exactly. How many students in class 2 of the fifth year participated in the tree planting activity?
五年2班同学参加植树活动，人数在40至50之间，如果分成4人一组或6人一组，都恰好分完．五年2班参加植树活动的学生有多少人？
<gadget id="calculator">2 * 2 * 3</gadget>
<output>12</output>

<gadget id="calculator">12 * 4</gadget>
<output>48</output>

<result>48</result>