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:
8782 @ 1837 # 6954

Ex Output:
3665


Ex Input:
3615 @ 7429 @ 6810 # 207 @ 1232 # 5621 @ 6745

Ex Output:
20003


Ex Input:
6424 # 8073 @ 392 # 5137 @ 1657 # 7031 # 4562

Ex Output:

-16330