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:
4284 # 8233 @ 2781 # 2769 # 5560 @ 635 # 1706 @ 1965 @ 6794

Ex Output:
-1809


Ex Input:
2285 @ 1970 @ 4720

Ex Output:
8975


Ex Input:
1371 # 8362 @ 857 @ 4916 @ 1585 @ 7238 @ 8681 @ 7080

Ex Output:

23366