S = input() for i in range(1,len(S)): if S[i] in '+-': break X = int(S[:i]) Y = int(S[i+1:]) print(X+Y if S[i] == '-' else X-Y)