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:
992 # 6304 @ 9489 # 6814 # 5448 @ 4565

Ex Output:
-3520


Ex Input:
5211 # 3266 @ 3042 @ 254 # 7823 @ 4298 # 8042 # 1629 # 6738

Ex Output:
-14693


Ex Input:
7360 @ 3348 # 6633 # 1657 # 7156 @ 9780

Ex Output:

5042