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 @ 5170 @ 566 # 6012 @ 5001

Ex Output:
6294


Ex Input:
580 @ 9980 # 4059 # 4694 @ 8096 # 3324

Ex Output:
6579


Ex Input:
7833 @ 6537 # 6904 @ 6418

Ex Output:

13884