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:
9248 # 9080 @ 3314 # 1458

Ex Output:
2024


Ex Input:
8719 @ 3277 @ 855 @ 5440 # 8920 @ 301 @ 3086 @ 6846 @ 9778

Ex Output:

29382