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:
4460 @ 9143 # 6720 # 8379 @ 1636 # 6526

Ex Output:
-6386


Ex Input:
3938 @ 6900 @ 1254 @ 25 # 7237 # 5576 @ 8865 # 8864 @ 1349

Ex Output:
654


Ex Input:
4293 @ 6570 # 947 # 2396 # 729 # 8114 @ 2372 # 910

Ex Output:

139