You are given a string of legal mathematical expression, which contains integers and arithmetic signs (only addition or subtraction) between them, with at most one parenthesis.
Please evaluate and output the result.
The input contains a single line of math expression, which has N integers and N-1 signs ('+' or '-') between them.
1 ≤ N ≤ 100, integers are ranged from 0 to 100000000, and there will be no leading zeros.
In the first five testcases, there will be no parenthesis. We encourage you to solve these testcases first.
Please output the evaluated result of the expression, followed by a newline character.