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: 1296 @ 9756 @ 2493 @ 9940 # 5147 # 5428 # 5741 # 828

Output: 6341


Input: Consider Input: 9746 # 6804 @ 5800 @ 8118 @ 2515 @ 1083 # 8754

Output: 11704


Input: Consider Input: 4995 # 7147 @ 9561 # 7122 @ 9039 # 5012 # 5763 # 8281 @ 31


Output: -9699