A ship sails from port A to port B with the wind and the water at a speed of 35 kilometers per hour; when returning from port B to port A, it travels against the current and wind at a speed of 14 kilometers per hour, and the round trip takes 17 hours. How many kilometers did the ship travel in total?
一艘轮船从甲港顺水顺风开往乙港，时速35千米；从乙港回甲港时，逆水逆风，时速14千米，往返一次共用17小时．这艘轮船共行了多少千米？
<gadget id="calculator">1 / 35</gadget>
<output>1/35 = around 0.028571</output>

<gadget id="calculator">1 / 14</gadget>
<output>1/14 = around 0.071429</output>

<gadget id="calculator">(1/35) + (1/14)</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">17 / (1/10)</gadget>
<output>170</output>

<gadget id="calculator">170 * 2</gadget>
<output>340</output>

<result>340</result>