Three flashing lighthouses are visible from the Cruise liner out at sea. One lighthouse flashes every 30 seconds, the other flashes every 40 seconds, and the third flashes every 50 seconds.
A passenger on the cruise notices all three lighthouses’ flashes at the same time.