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:
6120 # 9271 # 7167 @ 6916 # 2510 @ 7854 # 7909 # 1960 # 3775

Ex Output:
-11702


Ex Input:
2821 @ 5327 # 3350 # 3607 @ 7010 @ 6824 # 9975 # 38

Ex Output:
5012


Ex Input:
6586 # 4144 # 39 # 7160 @ 8998 @ 7548 @ 6521 # 3393 # 2292

Ex Output:

12625