X = input().split('+') if len(X) == 2: print(int(X[0]) - int(X[1])) else: X = list(map(int, X[0].split('-'))) print(X[0] + X[1])