S = input().rstrip() x, y, op = "", "", "" for i in range(len(S)): if i != 0 and (S[i] == "+" or S[i] == "-"): x = S[0:i] y = S[i + 1:] op = S[i] break x, y = int(x), int(y) if op == "+": print(x - y) else: print(x + y)