The task is to generate the correct answer for a given math problem.

Ex Input:
Problem: a jogger running at 9 kmph along side a railway track is 260 metres ahead of the engine of a 120 metre long train running at 45 kmph in the same direction . in how much time will the train pass the jogger ?

Ex Output:
38 sec

Ex Input:
Problem: if the average of 5 x and 8 y is greater than 90 , and x is twice y , what is the least integer value of x ?

Ex Output:
4

Ex Input:
Problem: a man sitting in a train which is traveling at 36 kmph observes that a goods train , traveling in opposite direction , takes 10 seconds to pass him . if the goods train is 240 m long , find its speed

Ex Output:
50 kmph