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:
5274 @ 8123 @ 5544 @ 7060 # 1023

Ex Output:
24978


Ex Input:
2738 # 5562 @ 4529 @ 5438 @ 1799

Ex Output:
8942


Ex Input:
1799 # 6428 @ 9525 # 4524 @ 9186

Ex Output:

9558