The distance between A and B is 360 kilometers. It takes 35 hours for a ship to go back and forth between the two ports. It takes 5 hours more to sail against the current than to sail with the current. Another motorboat travels 12 kilometers per hour. How many hours does it take for this motorboat 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 + 5</gadget>
<output>40</output>

<gadget id="calculator">40 / 2</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>