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

Example 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 ?
Example Output: 280

Example Input: Problem: the total age of a and b is 14 years more than the total age of b and c . c is how many years younger than a ?
Example Output: 14

Example Input: Problem: on a certain farm the ratio of horses to cows is 4 : 1 . if the farm were to sell 15 horses and buy 15 cows , the ratio of horses to cows would then be 13 : 7 . after the transaction , how many more horses than cows would the farm own ?
Example Output:
30