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

Example Input: Problem: the average of first 10 odd numbers is ?
Example Output: 10

Example Input: Problem: whats the reminder when 58 , 458,965 , 231,457 , 895,684 , 525,465 , 985,445 is divided by 16
Example Output: 5

Example Input: Problem: the average of 25 results is 20 . the average of first 12 of those is 14 and the average of last 12 is 17 . what is the 13 th result ?
Example Output:
128