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

Output: 11705


Input: Consider Input: 9084 # 8139 @ 4937

Output: 5882


Input: Consider Input: 607 # 3966 @ 1483 @ 9469 @ 1635 # 8087 @ 7513 @ 6457


Output: 15111