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:
3816 @ 8163 # 9273 @ 2037 @ 8051 @ 826

Ex Output:
13620


Ex Input:
9318 @ 858 @ 9508 @ 5403 # 5141 @ 6503 @ 9412

Ex Output:
35861


Ex Input:
8787 @ 8353 # 4192 # 7477

Ex Output:

5471