Two bags of rice have the same amount, the first bag eats 18 kilograms, the second bag eats 25 kilograms, and the remaining first bag is exactly twice as much as the second bag. How many kilograms are there in each of the two bags?
两袋大米同样多，第一袋吃去18千克，第二袋吃去25千克，余下的第一袋正好是第二袋的2倍，两袋原来各有多少千克？
<gadget id="calculator">2 * 25</gadget>
<output>50</output>

<gadget id="calculator">50 - 18</gadget>
<output>32</output>

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

<gadget id="calculator">32 / 1</gadget>
<output>32</output>

<result>32</result>