There are four ships parked in a certain port, and they leave the port at the same time in one day. It is known that ship A returns to port every 2 weeks, ship B returns to port every 4 weeks, ship C returns to port every 6 weeks, and ship D returns to port every 6 weeks. Return to the port once every 8 weeks, and ask: After at least a few weeks, the four ships rejoined at the port again?
某港口停着四艘轮船，一天它们同时开出港口，已知甲船每隔2星期回港一次，乙船每隔4星期回港一次，丙船每隔6星期回港一次，丁船每隔8星期回港一次，问：至少经过几个星期后，这四艘船再次在港口重新会合？
<gadget id="calculator">8 * 3</gadget>
<output>24</output>

<result>24</result>