During the summer vacation, the fifth grade students participated in summer camp activities. The number of people is between 40-50. If there are 6 people in a group, there will be 4 more people in one group; How many people participated in the summer camp activities?
暑假里五年级同学参加夏令营活动．人数在40-50人之间，如果6人一组，就有一个组多4人；如果8人一组，就有两个组各少1人．参加夏令营活动的有多少人？
<gadget id="calculator">2 * 2 * 2 * 3</gadget>
<output>24</output>

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

<gadget id="calculator">48 - 2</gadget>
<output>46</output>

<result>46</result>