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: 1059 # 7372 @ 4733 @ 9323 # 2108 @ 1244 @ 4077 # 7899 # 5842

Output: -2785


Input: Consider Input: 7252 # 8553 # 4853 @ 6748 # 3750

Output: -3156


Input: Consider Input: 2727 # 1217 @ 6304 @ 783 # 3301 # 6010


Output: -714