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:
2475 # 126 @ 138 # 2303 # 5327 # 6412 # 9849 # 8474 # 6460

Ex Output:
-36338


Ex Input:
730 @ 7585 # 9902 # 6809 @ 286 @ 9412 @ 9282 # 3941 # 4046

Ex Output:
2597


Ex Input:
8120 # 5686 @ 9253 @ 6997 @ 2779 @ 714

Ex Output:

22177