S = input() I = 1 while S[I].isdigit(): I += 1 print(int(S[0:I]) + (-1) ** (S[I] == "+") * int(S[I + 1:]))