There are two piles of coal, A and B. Take 12 tons from A and put them in B. The weight of the two piles of coal is equal; take 12 tons from B and put them in A. A is twice as much as B. What is the total weight of the two piles of coal A and B?
有甲、乙两堆煤，从甲中取出12吨放到乙中，两堆煤重量相等；从乙中取出12吨放到甲中，甲是乙的两倍．甲、乙两堆煤共重多少吨．
<gadget id="calculator">12 * 2</gadget>
<output>24</output>

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

<gadget id="calculator">24 + 12 + 24</gadget>
<output>60</output>

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

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

<gadget id="calculator">60 + 24 + 60</gadget>
<output>144</output>

<result>144</result>