There are several apples and pears each. If 5 apples and 3 pears are packed into a bag, then the pears are just finished, and there are 4 more apples; There are 12 more. So how many apples and pears are there in total?
苹果、梨各有若干个，如果5个苹果和3个梨装一袋，那么梨正好装完，还多4个苹果；如果7个苹果和3个梨装一袋，苹果正好装完，梨还多12个．那么共有苹果和梨多少个．
<gadget id="calculator">12 / 3</gadget>
<output>4</output>

<gadget id="calculator">4 * 5</gadget>
<output>20</output>

<gadget id="calculator">20 + 4</gadget>
<output>24</output>

<gadget id="calculator">24 / 2</gadget>
<output>12</output>

<gadget id="calculator">12 + 4</gadget>
<output>16</output>

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

<gadget id="calculator">16 * 8</gadget>
<output>128</output>

<gadget id="calculator">128 + 4</gadget>
<output>132</output>

<result>132</result>