S = input() x = [S[0]] y = [] i = 1 while S[i] not in ["+", "-"]: x.append(S[i]) i += 1 x = int("".join(x)) op = S[i] i += 1 while i < len(S): y.append(S[i]) i += 1 y = int("".join(y)) if op == "+": print(x - y) else: print(x + y)