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

Example Input: Problem: jack and jill are marathon runners . jack can finish a marathon ( 42 km ) in 7 hours and jill can run a marathon in 4.2 hours . what is the ratio of their average running speed ? ( jack : jill )
Example Output: 5 / 5

Example Input: Problem: how much interest will $ 10,000 earn in 9 months at an annual rate of 4 % ?
Example Output: $ 300

Example Input: Problem: on her annual road trip to visit her family in seal beach , california , traci stopped to rest after she traveled 1 2 of the total distance and again after she traveled 1 4 of the distance remaining between her first stop and her destination . she then drove the remaining 200 miles and arrived safely at her destination . what was the total distance , in miles , from traci ' s starting point to seal beach ?
Example Output:
800