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:
1482 # 6461 @ 804 # 8626 # 8564

Ex Output:
-21365


Ex Input:
9930 # 7864 @ 6797 # 6092 @ 1146 @ 1388 # 8545 # 9163

Ex Output:
-12403


Ex Input:
4364 @ 4363 # 5655 @ 5991 @ 3879 @ 2303 # 3321 @ 8300 @ 6059

Ex Output:

26283