A passenger train travels from Dongcheng to Xicheng for the whole journey (5/8), which is exactly 365 kilometers. How many kilometers is the railway between the east and west?
一列客车从东城开往西城，行了全程的(5/8)，正好是365千米，东西两成之间的铁路长多少千米？
<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">365 / (5/8)</gadget>
<output>584</output>

<result>584</result>