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:
3438 # 3865 # 956 # 3020 @ 2696

Ex Output:
-1707


Ex Input:
6915 @ 3564 # 9197 # 9440 # 1112 @ 382 @ 9681 # 6512 # 9658

Ex Output:
-15377


Ex Input:
8074 @ 4879 @ 6883 @ 1170 # 7858 @ 9406 @ 7113

Ex Output:

29667