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

Example Input: Problem: a is twice as good a workman as b and they took 6 days together to do the work b alone can do it in .
Example Output: 18 days

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 135 miles to her detination . what was the total distance , in miles from maria ' s starting point to her destination ?
Example Output: 360

Example Input: Problem: the average of first 7 prime numbers is ?
Example Output:
8.29