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:
3556 # 1722 @ 9362 # 7616 # 7893

Ex Output:
-4313


Ex Input:
4193 @ 3477 # 3125 @ 6912 @ 2615 @ 9846 @ 9806 # 4965

Ex Output:
28759


Ex Input:
2500 # 1759 # 3563

Ex Output:

-2822