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: 5265 @ 8995 # 365 # 6720 @ 438 # 9846 # 1190 @ 1943 # 9835

Output: -11315


Input: Consider Input: 8658 # 3165 @ 6250 # 3116 @ 3780


Output: 12407