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: 7295 @ 8477 @ 8646 @ 3487 # 114 # 9184

Output: 18607


Input: Consider Input: 2611 @ 6783 @ 8407 # 5813 @ 4138

Output: 16126


Input: Consider Input: 7424 # 6057 # 8031 # 4797 @ 876 @ 5296 # 9277


Output: -14566