e-olymp
Problems

Calculator

Calculator

The student Vasya has a younger brother Peter, who went to the first class and started to learn arithmetic. At home in the first class he was asked to solve many problems using addition and subtraction. Peter asked Vasya to check the homework. Seeing the two-page written scrawl tests, Vasya was horrified by the amount of work and decided to teach Peter to use a computer for self checking. To do this, Vasya needs to write a program that computes the answers for the required arithmetic problems.

Input

One line that contains numbers and symbols «+» and «-». The length of the line does not exceed 10000 symbols, the values of all numbers are not greater than 10000.

Output

Print one integer - the result of calculation.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1+22-3+4-5+123
Output example #1
142