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:
8625 # 2240 # 8544 @ 9905 @ 7588 @ 9161 @ 3204 @ 4214 # 1175

Ex Output:
30738


Ex Input:
7106 # 9524 # 2673 # 4668 @ 6755 # 5653 # 2688 # 9360

Ex Output:
-20705


Ex Input:
5780 @ 3584 @ 3617 # 7552 # 5705 # 8613 @ 753 @ 2504

Ex Output:

-5632