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: 5010 # 2117 @ 6121 # 6244 @ 1089 @ 5871

A: 9730
****
Q: 64 # 5994 @ 8659 # 885

A: 1844
****
Q: 270 # 2492 @ 2569 # 8901 @ 5745 @ 650 @ 8998

A:
6839
****