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:
4331 # 7606 @ 9043 @ 9912 @ 1560 # 5858 @ 703

Ex Output:
12085


Ex Input:
2026 @ 9494 # 8161

Ex Output:
3359


Ex Input:
5544 # 9888 @ 3986 # 1426 @ 4416 # 7217

Ex Output:

-4585