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

Example Input: Problem: 12 men work 8 hours per day to complete the work in 10 days . to complete the same work in 8 days , working 15 hours a day , the number of men required ?
Example Output: 8 days

Example Input: Problem: if a - b = 6 and a 2 + b 2 = 50 , find the value of ab .
Example Output: a ) 7

Example Input: Problem: what is the greatest positive integer x such that 3 ^ x is a factor of 9 ^ 5 ?
Example Output:
10