The students divide the apples. If each person divides 3 apples, there will be 12 remaining; if each student divides 5 apples, the difference is 8. How many apples are there in total?
同学们分苹果，如果每人分3个，则剩下12个；如果每人分5个，则差8个，一共有多少个苹果．
<gadget id="calculator">12 + 8</gadget>
<output>20</output>

<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">20 / 2</gadget>
<output>10</output>

<gadget id="calculator">3 * 10</gadget>
<output>30</output>

<gadget id="calculator">30 + 12</gadget>
<output>42</output>

<result>42</result>