A box contains the same number of apples and pears. Take out 6 apples and 4 pears each time. After several times, the apples are gone and there are 10 pears left. How many apples and pears are there in the box?
箱子里装有同样数量的苹果和梨子．每次取出6个苹果和4个梨子，取了几次后，苹果没有了，梨子还剩10个．原来箱子里装有苹果和梨子各有多少个？
<gadget id="calculator">6 - 4</gadget>
<output>2</output>

<gadget id="calculator">10 / 2</gadget>
<output>5</output>

<gadget id="calculator">6 * 5</gadget>
<output>30</output>

<result>30</result>