Students in class five (one) are divided into groups to play the game. There is one person left in every group of 8 or 10 people. At least how many people are there in the whole class.
五(一)班同学分组做游戏，每8人一组或10人一组都剩1人，全班至少一共有多少人．
<gadget id="calculator">2 * 2 * 2 * 5</gadget>
<output>40</output>

<gadget id="calculator">40 + 1</gadget>
<output>41</output>

<result>41</result>