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:
2243 # 9188 # 3609 # 6813 @ 6109 @ 6045

Ex Output:
-5213


Ex Input:
5768 @ 319 # 2546 @ 5236 # 6529 # 5734 @ 7926

Ex Output:
4440


Ex Input:
3055 # 1677 # 8825 # 1417

Ex Output:

-8864