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:
7686 @ 8753 @ 1402 # 3760 # 9121 @ 5705 @ 9002

Ex Output:
19667


Ex Input:
507 @ 3439 # 8086 # 5497 @ 2145 @ 2124 @ 9603 @ 2119 @ 8351

Ex Output:
14705


Ex Input:
9065 # 4148 @ 2104 @ 9955

Ex Output:

16976