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:
497 # 7667 # 405 # 5403 @ 8444 @ 5031 # 1411 # 2392

Ex Output:
-3306


Ex Input:
2030 # 4671 # 6277 @ 7403 @ 211 @ 1842 # 9247

Ex Output:
-8709


Ex Input:
4250 # 8985 # 5567 # 6857 # 639 # 3951 @ 8974 # 623

Ex Output:

-13398