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:
9056 @ 9894 # 9773 # 4508 # 5642

Ex Output:
-973


Ex Input:
2806 # 6120 @ 8567 @ 1946 @ 8985 # 9834 # 368 # 454 @ 5455

Ex Output:
10983


Ex Input:
8562 # 866 # 2825 # 4957 @ 1628 # 9462

Ex Output:

-7920