Two warehouses store a batch of grain together. The grain stored in the first warehouse is 10 tons more than (1/2) of the total amount of this batch of grain, and the grain stored in the second warehouse is more than (3/7) of the total amount of this batch of grain. ) is 2 tons less, how many tons are there in total for this batch of grain?
两个仓库共同储存一批粮食，第一个仓库储存的粮食比这批粮食总量的(1/2)多10吨，第二个仓库储存的粮食比这批粮食总量的(3/7)少2吨，这批粮食共有多少吨？
<gadget id="calculator">10 - 2</gadget>
<output>8</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">3 / 7</gadget>
<output>3/7 = around 0.428571</output>

<gadget id="calculator">1 - (1/2) - (3/7)</gadget>
<output>1/14 = around 0.071429</output>

<gadget id="calculator">8 / (1/14)</gadget>
<output>112</output>

<result>112</result>