a,o,b=input().split()

a=int(a)

b=int(b)

print(([a+b,a-b][o=="-"]))
print((eval(input())))
a, o, b = input().split()
a = int(a)
b = int(b)
print(([a + b, a - b][o == "-"]))

print((eval(input())))

-a, o, b = input().split() -a = int(a) -b = int(b) -print(([a + b, a - b][o == "-"])) +print((eval(input())))