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

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: in one alloy there is 12 % chromium while in another alloy it is 8 % . 35 kg of the first alloy was melted together with 40 kg of the second one to form a third alloy . find the percentage of chromium in the new alloy .

Ex Output:
9.75 %


Ex Input:
Problem: two tests had the same maximum mark . the pass percentages in the first and the second test were 40 % and 45 % respectively . a candidate scored 216 marks in the second test and failed by 36 marks in that test . find the pass mark in the first test ?

Ex Output:

22