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: 5098 # 2466 @ 6132 # 7008 @ 2142 # 5650 @ 531

Output: -1221


Input: Consider Input: 2065 @ 2103 @ 1800

Output: 5968


Input: Consider Input: 8127 # 1181 # 3831 @ 4149


Output: 7264