The cafeteria bought a batch of rice, used up half of it for the first time, more than 20 kilograms, and used up 39 kilograms for the second time, which happened to be all used up. How many kilograms is this batch of rice in total?
食堂买来一批大米，第一次用去全部的一半多20千克，第二次用去39千克，正好全部用完．这批大米共有多少千克？
<gadget id="calculator">39 + 20</gadget>
<output>59</output>

<gadget id="calculator">59 * 2</gadget>
<output>118</output>

<result>118</result>