There are three cargo ships A, B, and C coming to the port to unload at the same time. If the port workers need 1 hour to unload the cargo of Ship A, 4 hours to unload the cargo of Ship B, and 8 hours to unload the cargo of Ship C, and they can only be unloaded one by one. If the total waiting time of the three ships is to be minimized, what is the most reasonable arrangement?
有甲、乙、丙三艘货船同时来到港口卸货．如果港口工作人员卸完甲船的货需要1小时，卸完乙船的货需要4小时，卸完丙船的货需要8小时，而且只能一船一船地卸．如果要让三艘船等候时间总和最少，该如何安排最合理？
<gadget id="calculator">1 * 3</gadget>
<output>3</output>

<gadget id="calculator">4 * 2</gadget>
<output>8</output>

<gadget id="calculator">3 + 8 + 8</gadget>
<output>19</output>

<result>19</result>