Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: two trains of equal are running on parallel lines in the same direction at 18 km / hr and 36 km / hr . the faster train passes the slower train in 36 sec . the length of each train is ?
