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:
815 @ 7862 # 6166

Ex Output:
2511


Ex Input:
9806 @ 7051 @ 6703 @ 4233 # 276

Ex Output:
27517


Ex Input:
3604 @ 4128 # 727 # 1879 @ 3079 # 1895 # 8944 # 4651

Ex Output:

-7285