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:
2931 @ 2088 @ 4090 # 4838 # 6154 # 8570 @ 8518 @ 1737

Ex Output:
-198


Ex Input:
4284 # 8233 @ 2781 # 2769 # 5560 @ 635 # 1706 @ 1965 @ 6794

Ex Output:
-1809


Ex Input:
9380 # 8170 @ 2343

Ex Output:

3553