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: 120 # 2644 @ 4589

Output: 2065


Input: Consider Input: 1062 @ 9466 @ 4653

Output: 15181


Input: Consider Input: 7876 # 770 # 5856 @ 7779 @ 677 # 54 # 2767 @ 5492 @ 4317


Output: 16694