There are two trains, one is 144 meters long and travels 20 meters per second; the other is 160 meters long and travels 18 meters per second. If two trains are traveling towards each other on different rails, how many seconds will it take for the two trains to move from meeting to staggering?
有两列火车，一列长144米，每秒行20米；一列长160米，每秒行18米．在两条不同的铁轨上相向而行，那么这两列从相遇到错开需要多少秒．
<gadget id="calculator">144 + 160</gadget>
<output>304</output>

<gadget id="calculator">20 + 18</gadget>
<output>38</output>

<gadget id="calculator">304 / 38</gadget>
<output>8</output>

<result>8</result>