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:
7106 # 9524 # 2673 # 4668 @ 6755 # 5653 # 2688 # 9360

Ex Output:
-20705


Ex Input:
3309 @ 2855 @ 8458 # 3671 # 4410 # 6229 # 4661 # 2777

Ex Output:
-7126


Ex Input:
5216 @ 4367 @ 5938 @ 9564 # 5596 @ 5358

Ex Output:

24847