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: 7671 # 7716 @ 5899 @ 2520 # 497 # 24 # 16 # 840 # 9556

Output: -2559


Input: Consider Input: 5986 # 3224 # 3957 @ 1893 @ 9453 @ 3954 # 476 # 5750 # 5163

Output: 2716


Input: Consider Input: 4449 @ 4553 @ 472 @ 8166 # 989 # 9660


Output: 6991