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:
4460 @ 9143 # 6720 # 8379 @ 1636 # 6526

Ex Output:
-6386


Ex Input:
9720 @ 6485 @ 1745 @ 728

Ex Output:
18678


Ex Input:
8379 @ 6247 # 4435 @ 207 # 3793 @ 7248 @ 1488

Ex Output:

15341