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:
5513 @ 1221 @ 8910 @ 8422

Ex Output:
24066


Ex Input:
5235 @ 3917 @ 4902 @ 3831 # 6517

Ex Output:
11368


Ex Input:
1861 # 3929 @ 4952 # 8280

Ex Output:

-5396