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: 6472 # 6421 @ 7649 @ 4005

Output: 11705


Input: Consider Input: 8824 @ 4777 # 968


Output: 12633