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

Input: Consider Input: 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 ?

Output: 37 sec

Input: Consider Input: Problem: a man purchased earphone on friday . but he forgot how much it cost . the data he have are mean expenditure of all 7 days is 500 . expenditure on mon , tue , wed , thurs , sat , sun are 450600 , 400500 , 550300 . on friday he purchased 3 things one earphone , one pen and one notebook . pen cost 30 and notebook cost 50 . then what is cost of earphone ?

Output: 620

Input: Consider Input: Problem: john and jane went out for a dinner and they ordered the same dish . both used a 10 % discount coupon . john paid a 15 % tip over the original price of the dish , while jane paid the tip over the discounted price for the coupon . if john paid $ 0.60 more than jane , what was the original price of the dish ?
Output: 40