The task is to generate the correct answer for a given math problem.
--------
Question: Problem: a jogger running at 9 km / hr along side a railway track is 250 m ahead of the engine of a 120 m long train running at 45 km / hr in the same direction . in how much time will the train pass the jogger ?

Answer: 37 sec


Question: Problem: joan took out a mortgage from hel local bank . each monthly mortgage payment she makes must be triple the amount of the previous month ' s payment . if her first payment is $ 100 , and the total amount she must pay back is $ 914800 , how many months will it take joan to pay back her mortgage ?

Answer: 9


Question: Problem: a train 510 m long is running at a speed of 45 km / hr . in what time will it pass a bridge 140 m long ?

Answer:
52