Sam and Martha are the local names for two lighthouses that guard a particularly dangerous part of the coast. Sam blinks every 12 seconds, and Martha blinks every 8 seconds they blink together at midnight. How many seconds will pass before they blink together again?