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: 5031 # 649 # 8975 @ 1853 # 5257 # 1383

Output: -9380


Input: Consider Input: 8915 @ 8709 # 6716 @ 4326

Output: 15234


Input: Consider Input: 3229 # 4001 @ 2950 # 3024 # 873 @ 4599 # 2011


Output: 869


