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

Example Input: Problem: h is a positive integer and 225 and 216 are both divisors of h . if h = ( 2 ^ a ) * ( 3 ^ b ) * ( 5 ^ c ) , where a , b and c are positive integers , what is the least possible value of a + b + c ?
Example Output: 8

Example Input: Problem: a and b invests rs . 10000 each , a investing for 6 months and b investing for all the 12 months in the year . if the total profit at the end of the year is rs . 24000 , find their shares ?
Example Output: 8000

Example Input: Problem: what is the smallest positive integer x such that 720 - x is the cube of a positive integer
Example Output:
9