It costs 350 yuan to buy 5 boxes of apples and 5 boxes of pears, and 470 yuan to buy the same 8 boxes of apples and 5 boxes of pears. How much is a box of apples?
买5箱苹果和5箱梨要350元，买同样的8箱苹果和5箱梨要470元，一箱苹果多少元？
<gadget id="calculator">470 - 350</gadget>
<output>120</output>

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

<gadget id="calculator">120 / 3</gadget>
<output>40</output>

<result>40</result>