s = input() for i in range(1, len(s)-1): if s[i] == '+' or s[i] == '-': break op = s[i] x = int(s[:i]) y = int(s[i+1:]) print([x+y, x-y][op == '+'])