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:
5891 @ 5687 @ 6434 # 9679 @ 2950 # 5934 @ 1364 @ 6773

Ex Output:
13486


Ex Input:
1439 @ 4809 @ 6755 # 4840 @ 491 @ 9049 @ 8905 @ 8915

Ex Output:
35523


Ex Input:
5817 @ 6030 # 827 # 2730 @ 97 @ 2059

Ex Output:

10446