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: a and b invests rs . 10000 each , a investing for 6 months and b investing for all the 12 months in the year . if the total profit at the end of the year is rs . 24000 , find their shares ?

Output: 8000


Input: Consider Input: Problem: tom and marry each have a bag of marbles , each of which contains 4 red marbles , 10 blue marbles , and 6 yellow marbles . if tom and marry each select one marble from their respective bags , what is the probability that either tom or marry select a blue marble ?

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
Output: 3 / 4


