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: 8196 @ 7820 # 8484 # 7462 @ 8007 # 414

Output: 7663


Input: Consider Input: 8698 # 7378 # 9188 @ 5767 # 2935 # 2532 @ 7113

Output: -455


Input: Consider Input: 6274 @ 7819 @ 8394 @ 3810


Output: 26297