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: 9817 @ 5042 # 1724 @ 799 @ 685

A: 14619
****
Q: 5142 # 5370 # 8292 @ 827 @ 9263 # 9184 @ 8692

A: 1078
****
Q: 7484 # 5521 @ 4454 @ 2097 @ 5754 @ 4295

A:
18563
****