There are 40-50 people in a certain class. When queuing up, there are 6 people in each row, and the result is 4 more people; 8 people in each row, and 6 people are more in the result. How many people are there in a class?
某班人数在40-50人，排队时，每排6人，结果多4人；每排8人，结果多6人．某班共有多少人？
<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>