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:
9645 @ 911 @ 6748 # 3005 # 3625 # 87 @ 3003 # 5587 # 1382

Ex Output:
6621


Ex Input:
497 # 7667 # 405 # 5403 @ 8444 @ 5031 # 1411 # 2392

Ex Output:
-3306


Ex Input:
814 # 6509 # 8684 # 7570 # 8573 # 4232

Ex Output:

-34754