S = raw_input() i = 1 while S[i].isdigit(): i += 1 x, y = int(S[0:i]), int(S[i+1:]) if S[i] == '-': print(x+y) else: print(x-y)