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:
6484 # 6042 @ 239 # 5161 # 7940 @ 2882 @ 8393 # 311 @ 6933

Ex Output:
5477


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

Ex Output:
-16036


Ex Input:
2486 # 47 # 3372 @ 3433 # 1408 @ 2423 # 6079 # 6280 @ 9674

Ex Output:

830