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

Example Input: Problem: what positive number , when squared , is equal to the cube of the positive square root of 14 ?
Example Output: 4

Example Input: Problem: tim came second in math . when his mother asked him how much he had scored , he answered that he got the sum of the first 12 even numbers . his mother immediately worked out the answer . how much had he scored in math ?
Example Output: 156

Example Input: Problem: the population of 6 villages is 803 , 9001100 , 1023945 and 980 . what is the population of the seventh village if the average population of the 7 villages is 1000 ?
Example Output:
124