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

Ex Input:
Problem: james took a 3 - hour bike ride . in the second hour he travlled 12 miles , which was 20 percent farther than he traveled the first hour . if he traveled 25 percent farther in the third hour than he did in the second hour , how many miles did jose travel during the entire ride ?

Ex Output:
37.0


Ex Input:
Problem: a 270 metres long bullet train running at the speed of 120 kmph crosses another bullet train running in opposite direction at the speed of 80 kmph in 9 seconds . what is the length of the other bullet train ?

Ex Output:
230


Ex Input:
Problem: a bullet train 120 m long is running with a speed of 50 kmph . in what time will it pass a man who is running at 4 kmph in the direction opposite to that in which the bullet train is going ?

Ex Output:

8 sec