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:
6896 @ 8548 @ 1670 @ 7550 # 921

Ex Output:
23743


Ex Input:
4400 @ 9261 @ 3016

Ex Output:
16677


Ex Input:
8504 # 4853 @ 1848 # 3689 # 1038

Ex Output:

772