The distance between A and B ports is 360 kilometers. It takes 35 hours for a ship to go back and forth, and it takes 5 hours to travel along the current than against the current. There is a sailboat with a speed of 12 kilometers per hour in still water. What is the time it takes to go back and forth between the two ports?
甲乙两港之间相距360千米，一轮船往返共用35个小时，顺水比逆水快5个小时，现有一机帆船静水船速为每小时12千米，求它往返两港的时间是？
<gadget id="calculator">35 - 5</gadget>
<output>30</output>

<gadget id="calculator">30 / 2</gadget>
<output>15</output>

<gadget id="calculator">360 / 15</gadget>
<output>24</output>

<gadget id="calculator">35 - 15</gadget>
<output>20</output>

<gadget id="calculator">360 / 20</gadget>
<output>18</output>

<gadget id="calculator">24 - 18</gadget>
<output>6</output>

<gadget id="calculator">6 / 2</gadget>
<output>3</output>

<gadget id="calculator">12 + 3</gadget>
<output>15</output>

<gadget id="calculator">12 - 3</gadget>
<output>9</output>

<gadget id="calculator">360 / 9</gadget>
<output>40</output>

<gadget id="calculator">24 + 40</gadget>
<output>64</output>

<result>64</result>