A train travels from Shanghai to Huainan. When it takes the whole \frac{\begin{array}\\\\5\end{array}}{7}, it is still 160 kilometers away from Huainan. How far is the distance between Shanghai and Huainan? rice?
一列火车从上海到淮南，当走了全程的\frac{\begin{array}\\\\5\end{array}}{7}时，离淮南还有160千米，上海与淮南相距多少千米？
<gadget id="calculator">5 / 7</gadget>
<output>5/7 = around 0.714286</output>

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

<gadget id="calculator">160 / (2/7)</gadget>
<output>560</output>

<result>560</result>