A train departs from Shanghai to Beijing and travels the whole way (2/5). If the remaining distance travels 106 kilometers per hour, you can reach Beijing in 6 hours. How many kilometers is the railway from Shanghai to Beijing?
一列火车从上海开往北京，行了全程的(2/5)．剩下的路程如果每小时行106千米，6小时可到达北京．上海到北京的铁路长多少千米？
<gadget id="calculator">106 * 6</gadget>
<output>636</output>

<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

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

<gadget id="calculator">636 / (3/5)</gadget>
<output>1_060</output>

<result>1_060</result>