There is a basket of apples, divided among 5 people on average, and 2 are left in the end; divided among 8 people on average, and 2 are left in the end. What is the minimum number of apples in this basket?
有一筐苹果，平均分给5个人，最后还剩下2个；平均分给8个人，最后还剩下2个．这筐苹果最少有多少个．
<gadget id="calculator">2 * 2 * 2 * 5</gadget>
<output>40</output>

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

<result>42</result>