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:
8053 # 8275 @ 3672 # 7233 @ 8748 # 1270 # 6997 # 7566 @ 5689

Ex Output:
-5179


Ex Input:
1447 # 6371 # 8625 @ 393 # 8810 # 6452 @ 5920 # 9380

Ex Output:

-31878