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:
7729 # 7280 @ 5072 @ 3806 # 6060

Ex Output:
3267


Ex Input:
7027 @ 2812 @ 3081 @ 8945 # 18 # 3273 @ 222 # 6452 # 5838

Ex Output:
6506


Ex Input:
7875 @ 9329 @ 2320 @ 4632 # 8415

Ex Output:

15741