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:
3303 @ 1775 # 9738 @ 1433 @ 5484 @ 2221

Ex Output:
4478


Ex Input:
8780 # 5826 # 420 @ 8814 @ 5786 # 1725

Ex Output:
15409


Ex Input:
7742 # 6347 @ 6955 @ 8126 # 964 @ 4393

Ex Output:

19905