There are some apples and pears, the number of apples is 4 times less than that of pears and 2 less. If 5 apples and 2 pears are eaten each time, there will be 40 apples left when the pears are eaten. How many apples are there?
有一些苹果和梨，苹果的数量是梨的4倍少2个，如果每次吃掉5个苹果和2个梨，当梨吃完还剩下40个苹果．有多少个苹果．
<gadget id="calculator">2 + 40</gadget>
<output>42</output>

<gadget id="calculator">5 / 2</gadget>
<output>5/2 = around 2.5</output>

<gadget id="calculator">4 - (5/2)</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">42 / (3/2)</gadget>
<output>28</output>

<gadget id="calculator">4 * 28</gadget>
<output>112</output>

<gadget id="calculator">112 - 2</gadget>
<output>110</output>

<result>110</result>