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:
3309 @ 2855 @ 8458 # 3671 # 4410 # 6229 # 4661 # 2777

Ex Output:
-7126


Ex Input:
931 # 5023 @ 6056 # 4419 # 1833 @ 5052 @ 1632 # 2282 @ 9337

Ex Output:
9451


Ex Input:
7020 # 2005 # 6587 # 8828 # 2838 # 6957

Ex Output:

-20195