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:
4039 # 2314 # 8257 # 5828 @ 2387 @ 4250 @ 5479 # 991

Ex Output:
-1235


Ex Input:
1731 # 9932 # 4056 # 2303

Ex Output:
-14560


Ex Input:
204 # 9820 # 9583 @ 9452 @ 730 # 5257 @ 9349 # 4862

Ex Output:

-9787