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:
5474 @ 2497 @ 6991 @ 302 # 1963 # 6932 # 5953 # 4859

Ex Output:
-4443


Ex Input:
6110 @ 5036 # 9621 @ 7662 # 3509 # 7697 # 1663 @ 9388

Ex Output:
5706


Ex Input:
3640 # 936 # 4592 # 1342 @ 7832 # 8995 # 191 # 5726

Ex Output:

-10310