In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer

Ex Input:
6277 # 2029 # 4158 @ 5412 # 6845 # 6694 @ 5432

Ex Output:
-2605


Ex Input:
8698 # 7378 # 9188 @ 5767 # 2935 # 2532 @ 7113

Ex Output:
-455


Ex Input:
3462 @ 9743 @ 8298

Ex Output:

21503