If the candy is distributed to 8 children on average, there will be 2 remaining; if it is distributed to 10 children on average, there will be 2 remaining. How many candies are there at least in this bag?
糖果，如果平均分给8个小朋友，剩下2颗；如果平均分给10个小朋友，也剩下2颗．这包糖果至少有多少颗？
<gadget id="calculator">2 * 2 * 2 * 5</gadget>
<output>40</output>

<gadget id="calculator">40 + 2</gadget>
<output>42</output>

<result>42</result>