Two trains, Train A and Train B, are on parallel tracks and moving towards each other. Train A is traveling at a speed of 50 kilometers per hour, and Train B is traveling at a speed of 70 kilometers per hour. They are initially 240 kilometers apart. How long will it take for the two trains to meet? Let's think step by step and output the final answer within \boxed{}.
user