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:
353 # 9525 @ 9923 @ 4025 # 1922 @ 4751

Ex Output:
7605


Ex Input:
4899 # 3034 @ 3351 @ 7952 @ 4527 # 2700 # 3143 @ 3642 # 2445

Ex Output:
13049


Ex Input:
4233 @ 9432 # 4046

Ex Output:

9619