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:
507 @ 3439 # 8086 # 5497 @ 2145 @ 2124 @ 9603 @ 2119 @ 8351

Ex Output:
14705


Ex Input:
2354 @ 5192 @ 5717 # 1833 @ 9672 # 3565

Ex Output:
17537


Ex Input:
8907 # 9980 # 9701 @ 4740 # 7991 @ 4069

Ex Output:

-9956