There is a batch of grain in the warehouse, and the whole (2/3) is removed by 1 ton. At this time, the ratio of the remaining grain to the grain transported away is 5:7. How many tons of grain are there in the warehouse?
仓库有一批粮食，运走全部的(2/3)少1吨，这时剩下的与运走的粮食的比是5：7，仓库原来有粮食多少吨？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">5 + 7</gadget>
<output>12</output>

<gadget id="calculator">5 / 12</gadget>
<output>5/12 = around 0.416667</output>

<gadget id="calculator">(2/3) - (5/12)</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 / (1/4)</gadget>
<output>4</output>

<result>4</result>