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: 9337 # 8816 @ 7801 @ 8011 @ 8821 @ 966 @ 1854

Output: 27974


Input: Consider Input: 1086 # 7477 # 9664 @ 5904 # 8033 # 5563

Output: -23747


Input: Consider Input: 7192 # 6838 # 9054 # 8802 @ 9503 @ 9086 @ 6779 # 4701


Output: 3165