The fruit store ships bananas, apples and pears, among which the mass of bananas accounts for 20%, and the ratio of the mass of pears to the sum of the other two fruits is 1:2. The apples are 40 kg heavier than bananas. How many kilograms of apples did the store ship in total?
水果店运来香蕉、苹果和梨三种水果，其中香蕉的质量占20%，梨的质量与其它两种水果之和的比是1：2，运来的苹果比香蕉重40千克，这个水果店共运来苹果多少千克？
<gadget id="calculator">1 + 2</gadget>
<output>3</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">20 / 100</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1 - (1/3) - (1/5)</gadget>
<output>7/15 = around 0.466667</output>

<gadget id="calculator">(7/15) - (1/5)</gadget>
<output>4/15 = around 0.266667</output>

<gadget id="calculator">40 / (4/15)</gadget>
<output>150</output>

<gadget id="calculator">150 * (7/15)</gadget>
<output>70</output>

<result>70</result>