For a batch of rice, (1/6) of the total amount was shipped for the first time, and (2/7) of the total amount was shipped for the second time and 5 tons, leaving 18 tons. How many tons is this batch of rice in total?
一批稻谷，第一次运了总数的(1/6)，第二次运了总数的(2/7)又5吨，还剩18吨，这批稻谷共多少吨？
<gadget id="calculator">18 + 5</gadget>
<output>23</output>

<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">2 / 7</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">1 - (1/6) - (2/7)</gadget>
<output>23/42 = around 0.547619</output>

<gadget id="calculator">23 / (23/42)</gadget>
<output>42</output>

<result>42</result>