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

Ex Input:
Problem: find the greatest number that will divide 205 , 626 and 588 leaving 5 , 6 and 8 as remainders respectively

Ex Output:
2


Ex Input:
Problem: a clock shows the time as 10 a . m . if the minute hand gains 5 minutes every hour , how many minutes will the clock gain by 6 p . m . ?

Ex Output:
40 minute


Ex Input:
Problem: susan drove an average speed of 30 miles per hour for the first 60 miles of a tripthen at a average speed of 60 miles / hr for the remaining 30 miles of the trip if she made no stops during the trip what was susan ' s avg speed in miles / hr for the entire trip

Ex Output:

36