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: 826 # 6501 # 223 @ 9761 # 8863

Output: -5000


Input: Consider Input: 6853 # 3523 @ 1895 @ 6916 @ 2795 # 8802 # 3074 # 5622 @ 956

Output: -1606


Input: Consider Input: 8237 # 1930 @ 8227 # 317 # 942 # 1833 @ 855 @ 5943 @ 147


Output: 18387