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

Ex Input:
2342 # 5338 @ 345 @ 9010 @ 5234 @ 9613

Ex Output:
21206


Ex Input:
9741 # 8583 @ 2183 # 5623 @ 4144 # 4064 @ 3416 @ 9350 @ 4931

Ex Output:
15495


Ex Input:
4564 @ 3084 @ 3952 # 9095 @ 6899 # 8064

Ex Output:

1340