Sarah is participating in a triathlon that consists of swimming, cycling, and running. She plans to spend 40% of her total time swimming, 50% cycling, and the remaining time running. If Sarah plans to spend a total of 5 hours in the triathlon, how much time will she spend on each activity? Let's think step by step and output the final answer within \boxed{}.
user