길이 $n$의 문자열이 주어진다. 이 문자열의 계산 결과를 예제와 같이 출력한다.
Input
길이 100 이하의 문자열이 주어진다. 이 문자열은 한자리 정수, +, - 만으로 이루어진다.
Output
이 문자열의 계산 결과를 출력한다.
Constraints
$-10000 ≤$ 결과 $≤ 10000$
Example 1
Input
1+5-6-7
Output
-7
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.