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:
5768 @ 319 # 2546 @ 5236 # 6529 # 5734 @ 7926

Ex Output:
4440


Ex Input:
3816 @ 8163 # 9273 @ 2037 @ 8051 @ 826

Ex Output:
13620


Ex Input:
708 # 2721 @ 1467 # 9578 @ 9806 @ 1687 # 1583

Ex Output:

-214