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:
5193 # 9816 # 9875 # 1011 @ 1147 @ 5023

Ex Output:
-9339


Ex Input:
1569 # 724 @ 3737 @ 6220 # 1360 # 172 # 1027 # 3566 # 9663

Ex Output:
-4986


Ex Input:
4051 # 3873 @ 1125 @ 9341 # 8321

Ex Output:

2323