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:
1569 # 724 @ 3737 @ 6220 # 1360 # 172 # 1027 # 3566 # 9663

Ex Output:
-4986


Ex Input:
4565 @ 7065 # 5397

Ex Output:
6233


Ex Input:
6186 @ 2074 # 1970 @ 339 @ 6442 @ 4264

Ex Output:

17335