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: 427 # 7974 # 7564 @ 2404 # 4955 # 1239 # 1518 @ 906

Output: -19513


Input: Consider Input: 540 @ 8823 @ 1244 # 1696 # 889 # 6035 # 5113 @ 2513

Output: -613


Input: Consider Input: 5013 # 1990 # 1167 @ 90


Output: 1946