Two baskets of apples with the same weight, 7 kg are taken out of basket A, and 19 kg are added to basket B. At this time, the number of apples in basket B is three times that of apples in basket A. How many kilograms of apples are in the two baskets of A and B?
两筐重量相同的苹果，从甲筐中取出7千克，乙筐加入19千克，这时乙筐是甲筐苹果的3倍，问甲、乙两筐原有苹果各多少千克？
<gadget id="calculator">7 + 19</gadget>
<output>26</output>

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

<gadget id="calculator">26 / 2</gadget>
<output>13</output>

<gadget id="calculator">13 + 7</gadget>
<output>20</output>

<result>20</result>