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

Example 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 . ?
Example Output: 40 minute

Example Input: Problem: the average ( arithmetic mean ) of 8 numbers is 43.1 . if the sum of half of these numbers is 158.4 , what is the average of the other half ?
Example Output: 46.6

Example Input: Problem: 1 , 8 , 27 , 64 , . . .
Example Output:
12