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:
440 @ 5472 # 6900 # 3389

Ex Output:
-4377


Ex Input:
1185 # 6431 @ 1326 # 2840 # 9276

Ex Output:
-16036


Ex Input:
1162 # 8245 @ 6875 @ 6197 @ 3668

Ex Output:

9657