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