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: 473 # 2568 @ 9771 # 2525 @ 3277 @ 261 # 8230 @ 6021

Output: 6480


Input: Consider Input: 5098 # 2466 @ 6132 # 7008 @ 2142 # 5650 @ 531

Output: -1221


Input: Consider Input: 2829 @ 5650 # 6691 # 4859


Output: -3071