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:
9161 # 6658 @ 4795 @ 5621 # 1895 # 3766 # 7738 # 570

Ex Output:
-1050


Ex Input:
6322 # 7953 # 5 @ 7093 @ 5659 @ 5045 # 904

Ex Output:
15257


Ex Input:
7736 # 8508 # 2072 @ 7578 @ 7224 # 9957 @ 1765 @ 7505

Ex Output:

11271