Alex and Jamie are working together on a project. Alex can complete the project alone in 12 hours, while Jamie can complete it alone in 18 hours. They decided to work together and completed the project. How many hours did it take for them to complete the project together? Let's think step by step and output the final answer within \boxed{}.
user