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:
8732 # 4760 @ 9372

Ex Output:
13344


Ex Input:
3651 @ 4392 @ 7612 # 1575 @ 8307

Ex Output:
22387


Ex Input:
9971 # 4657 # 5577 @ 7674 @ 7001 # 358

Ex Output:

14054


