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

[Q]: 6744 # 8579 # 1271 @ 9372 @ 5898
[A]: 12164


[Q]: 9781 # 2797 # 2134
[A]: 4850


[Q]: 4878 # 5929 # 5448 @ 2179 @ 3365 # 7796 @ 7731
[A]:
-1020