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:
3007 @ 8777 # 8750

Ex Output:
3034


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

Ex Output:
14705


Ex Input:
4293 # 6785 # 749 # 1175 # 6738 @ 718

Ex Output:

-10436