import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines S = read().rstrip().decode() op_ind = [] for i,x in enumerate(S): if x in '+-': op_ind.append(i) i = op_ind[0] if op_ind[0] != 0 else op_ind[1] x = int(S[:i]) y = int(S[i+1:]) op = S[i] answer = x + y if op == '-' else x - y print(answer)