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

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

Output: 280


Input: Consider Input: Problem: if sharon ' s weekly salary increased by 16 percent , she would earn $ 348 per week . if instead , her weekly salary were to increase by 15 percent , how much would she earn per week ?

Output: $ 345


Input: Consider Input: Problem: a number exceeds by 40 from its 3 / 8 part . then the number is ?


Output: c ) 64