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: 2853 @ 2447 @ 3565

Output: 8865


Input: Consider Input: 3615 @ 7429 @ 6810 # 207 @ 1232 # 5621 @ 6745

Output: 20003


Input: Consider Input: 178 @ 5236 # 8372 # 6825 @ 1044 # 7818 # 4765 @ 7418


Output: -13904