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]: 6979 # 7807 @ 3778 # 1362 @ 8374 # 3189 @ 5988
[A]: 12761


[Q]: 6884 @ 145 # 2208 # 5356 # 3578 @ 606
[A]: -3507


[Q]: 6271 @ 854 # 9057 # 167 @ 3835
[A]:
1736