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:
3298 @ 1140 @ 3407 # 8200 # 7383 # 6043 @ 5264

Ex Output:
-8517


Ex Input:
6374 # 6362 # 4384 @ 4744 @ 8116 # 1470

Ex Output:
7018


Ex Input:
8642 @ 509 @ 4221 @ 7420 @ 8270 @ 2720

Ex Output:

31782