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:
4368 # 7312 @ 7468 # 4833 # 1476 # 42

Ex Output:
-1827


Ex Input:
9318 @ 858 @ 9508 @ 5403 # 5141 @ 6503 @ 9412

Ex Output:
35861


Ex Input:
3814 # 4297 @ 5724 # 9191 # 4800 # 8065 # 5485 @ 6264 # 9111

Ex Output:

-25147