There is a batch of rice in the warehouse. The weight sold on the first day was 12 tons less than half of the total. The weight sold the next day was 12 tons less than the remaining half, resulting in 19 tons left. How many tons of rice was there in this warehouse?
仓库里有一批大米．第一天售出的重量比总数的一半少12吨．第二天售出的重量比剩下的一半少12吨，结果还剩下19吨．这个仓库原有大米多少吨？
<gadget id="calculator">78 - 12</gadget>
<output>66</output>

<gadget id="calculator">66 * 2</gadget>
<output>132</output>

<gadget id="calculator">132 - 12</gadget>
<output>120</output>

<gadget id="calculator">120 * 2</gadget>
<output>240</output>

<result>240</result>