A and B are two barrels of oil. It is known that barrel A contains 10 kg of oil. If (1/2) kg of oil is taken from barrel A and poured into barrel B, the weight of the two barrels is equal. How many kilograms did the two barrels of oil originally weigh?
甲、乙两桶油，已知甲桶有油10千克，若从甲桶中取出油(1/2)千克倒入乙桶，则两桶油重量相等．两桶油原来共重多少千克？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">10 - (1/2)</gadget>
<output>19/2 = around 9.5</output>

<gadget id="calculator">(19/2) * 2</gadget>
<output>19</output>

<result>19</result>