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

Ex Input:
Problem: 1370 , x , 1070 , - 180 , - 6430

Ex Output:
1320


Ex Input:
Problem: a certain experimental mathematics program was tried out in 2 classes in each of 38 elementary schools and involved 44 teachers . each of the classes had 1 teacher and each of the teachers taught at least 1 , but not more than 3 , of the classes . if the number of teachers who taught 3 classes is n , then the least and greatest possible values of n , respectively , are

Ex Output:
0 and 16


Ex Input:
Problem: if a = 2 , what is the value of – ( a ^ 2 + a ^ 3 + a ^ 4 + a ^ 5 ) ?

Ex Output:

- 60