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:
6039 @ 1273 # 2162 # 5061 @ 5087 @ 4703

Ex Output:
9879


Ex Input:
7217 @ 2604 @ 9974 @ 8133 @ 8987 # 6381 # 7662

Ex Output:
22872


Ex Input:
1275 # 1087 # 6292 @ 3854 # 9897 @ 896 @ 9793 @ 2590 # 1790

Ex Output:

-658