S = str(input()) s = 0 p = 0 for k in range(1,len(S)): if S[k] == "+": p = k s = -1 break elif S[k] == "-": p = k s = 1 break x = S[:k] y = S[k+1:] if x[0] == "-": X = -int(x[1:]) elif x[0] == "+": X = int(x[1:]) else: X = int(x) if y[0] == "-": Y = -int(y[1:]) elif x[0] == "+": Y = int(y[1:]) else: Y = int(y) print(X+s*Y)