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:
4100 @ 4500 @ 5166 @ 7442 @ 3258

Ex Output:
24466


Ex Input:
2020 @ 8125 # 252 # 2790 # 9183 @ 3123 # 7282 # 5115 # 1943

Ex Output:
-13297


Ex Input:
5298 @ 3272 @ 954 # 3109 # 9946 # 20 # 8515 @ 2474 @ 7805

Ex Output:

-1787