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

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: if an investor puts $ 800 in a savings account that earns 10 percent annual interest compounded semiannually , how much money will be in the account after one year ?
Example Output: $ 882

Example Input: Problem: if the number is divided by 3 , it reduced by 36 . the number is
Example Output:
d ) 54