An express train departs from A to B, while a slow train departs from B to A. After 12 hours, the express train is still the whole distance (1/6) away from B, and the slow train is 24 kilometers beyond the midpoint. It is known that the fast train travels 18 kilometers more per hour than the slow train, so how many kilometers is the distance between A and B?
一列快车从甲地出发开往乙地，同时一列慢车从乙地出发开往甲地．12小时后快车距乙地还有全程的(1/6)，慢车则超过中点24千米．已知快车每小时比慢车多行18千米，则甲、乙两地的路程是多少千米？
<gadget id="calculator">12 * 18</gadget>
<output>216</output>

<gadget id="calculator">24 + 216</gadget>
<output>240</output>

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

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

<gadget id="calculator">1 - (1/6) - (1/2)</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">240 / (1/3)</gadget>
<output>720</output>

<result>720</result>