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

Ex Output:
-9380


Ex Input:
5052 # 6923 @ 1011

Ex Output:
-860


Ex Input:
678 @ 1166 # 7776 # 4695 # 9090 @ 1180 # 2398 @ 726

Ex Output:

-20209