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:
2989 # 6833 # 4298 @ 8863 # 8408

Ex Output:
-7687


Ex Input:
2020 @ 8125 # 252 # 2790 # 9183 @ 3123 # 7282 # 5115 # 1943

Ex Output:
-13297


Ex Input:
5618 # 9379 # 9367 # 2355 # 5728 @ 1379

Ex Output:

-19832