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:
1508 # 9607 @ 9117 @ 1943 # 3539 # 8743 # 2584 @ 7819

Ex Output:
-4086


Ex Input:
4681 # 7765 @ 9516 @ 4570 @ 2862

Ex Output:
13864


Ex Input:
7902 @ 2961 @ 2148 @ 5161 @ 9203 # 9577 @ 3037 @ 8760 # 1168

Ex Output:

28427