The two warehouses have the same amount of grain, 8 tons are taken from the first warehouse, and 100 tons are transported from the second warehouse. The remaining grain in the first warehouse is 1.2 times that of the second warehouse. How many tons of grain are there in the two warehouses?
两个仓库的粮食同样多，从第一个仓库走8吨，从第二个仓库运走100吨，第一个仓库里剩下的粮食是第二个仓库的1.2倍．两个仓库里原有多少吨粮食？
<gadget id="calculator">1.2 * 100</gadget>
<output>120</output>

<gadget id="calculator">120 - 8</gadget>
<output>112</output>

<gadget id="calculator">1.2 - 1</gadget>
<output>0.2</output>

<gadget id="calculator">112 / 0.2</gadget>
<output>560</output>

<result>560</result>