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: 9879 # 8585 @ 4078 # 6210 @ 7239 @ 3002 # 2455 @ 9817

A: 16765
****
Q: 9817 @ 5042 # 1724 @ 799 @ 685

A: 14619
****
Q: 6060 @ 2846 @ 4249 @ 6831 @ 5191 @ 3711 # 352 # 2921 @ 5640

A:
31255
****