Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: two trains are moving in the same direction at 108 kmph and 54 kmph . the faster train crosses a man in the slower train in 24 seconds . find the length of the faster train ?
