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

Input: Consider Input: 3970 # 8486 # 9402 # 8030 @ 4724 @ 8858

Output: -8366


Input: Consider Input: 6110 @ 5036 # 9621 @ 7662 # 3509 # 7697 # 1663 @ 9388

Output: 5706


Input: Consider Input: 3071 # 5299 @ 206 @ 3214 @ 6040 @ 5785 # 6760 # 8070


Output: -1813