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:
4470 @ 7285 # 4583 @ 9451 # 3236 # 3108 # 2875

Ex Output:
7404


Ex Input:
3979 @ 8270 # 8338 @ 8460 # 4746 @ 5598 @ 1343 @ 9371 # 637

Ex Output:
23300


Ex Input:
8295 @ 2602 # 8676 # 7713 # 9518 @ 9693 @ 3606

Ex Output:

-1711