It is known that Dalian is 980 kilometers away from Beijing, and Beijing is 1372 kilometers away from Shanghai. It takes 10 hours for a train to travel from Dalian to Beijing. At this speed, how long will it take for the train to go from Dalian to Shanghai?
已知大连到北京980千米，北京到上海1372千米，一列火车从大连开往北京需要10小时．照这样的速度，这列火车从大连开往上海，一共需要多长时间？
<gadget id="calculator">980 + 1_372</gadget>
<output>2_352</output>

<gadget id="calculator">980 / 10</gadget>
<output>98</output>

<gadget id="calculator">2_352 / 98</gadget>
<output>24</output>

<result>24</result>