The weight ratio of the apples in the two baskets A and B is 5:3. Take 12 kg from the A basket and put it into the B basket. At this time, the apples in the B basket are 8 kg more than the apples in the A basket. How much does the two baskets weigh?
甲、乙两筐苹果的重量比是5：3，从甲筐取出12千克放入乙筐，这时乙筐苹果比甲筐苹果多8千克，两筐苹果共重多少千克？
<gadget id="calculator">12 - 8</gadget>
<output>4</output>

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

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

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

<gadget id="calculator">5 * 8</gadget>
<output>40</output>

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

<gadget id="calculator">40 + 24</gadget>
<output>64</output>

<result>64</result>