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

Input: Consider Input: 8571 # 5985 @ 8912

Output: 11498


Input: Consider Input: 1655 @ 6751 # 5432 @ 5817 @ 3005 # 1615

Output: 10181


Input: Consider Input: 1256 # 7610 # 9862


Output: -16216