Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a train overtakes two persons who are walking in the same direction in which the train is going , at the rate of 2 kmph and 4 kmph and passes them completely in 9 and 10 seconds respectively . find the length of train ?
Output:
50 m