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

Ex Input:
Problem: 1,000 ^ 2 + 1,001 ^ 2 + 1,002 ^ 2 + 1,003 ^ 2 + 1,004 ^ 2 =

Ex Output:
6


Ex Input:
Problem: if | 5 x - 20 | = 100 , then find the sum of the values of x ?

Ex Output:
8


Ex Input:
Problem: the cost of 3 pens and 5 pencils is rs . 150 . also the cost of one pen and one pencil is in the ratio of 5 : 1 respectively . what is the cost of one dozen pens ?

Ex Output:

rs . 450