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: during a car trip , maria stopped to rest after she traveled 1 / 2 of the total distance to her destination . she stopped again after she traveled 1 / 4 of the distance remaining between her first stop and her destination , and then she drove the remaining 105 miles to her detination . what was the total distance , in miles from maria ' s starting point to her destination ?

Ex Output:
280


Ex Input:
Problem: mrs . evans gave a test to her freshmen economics class , which has 29 students enrolled and 19 of them answered question 1 correctly . if 24 answered question 2 correctly and 5 did not take the test then how many answered both questions correctly ?

Ex Output:

1