Mom bought 16 apples and pears in total. If she buys 8 more pears, the number of pears is twice that of apples. How many apples and pears did mom buy?
妈妈买来苹果和梨共16个，如果再买8个梨，梨的个数就是苹果的2倍，那么妈妈买来苹果和梨各多少个？
<gadget id="calculator">16 + 8</gadget>
<output>24</output>

<gadget id="calculator">2 + 1</gadget>
<output>3</output>

<gadget id="calculator">24 / 3</gadget>
<output>8</output>

<gadget id="calculator">16 - 8</gadget>
<output>8</output>

<result>8</result>