while True:

	a,op,b=input().split(" ")

	a,b=[int(i) for i in (a,b)]

	if op=="+":

		print((a+b))

	elif op=="-":

		print((a-b))

	elif op=="*":

		print((a*b))

	elif op=="/":

		print((int(a/b)))

	else:

		break
# encoding:utf-8



while True:

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

	if op == "?":

		break

	a, b = list(map(int, (a,b)))

	if op == "+":

		print((a+b))

	elif op == "-":

		print((a-b))

	elif op == "*":

		print((a*b))

	else:

		print((a/b))
while True:
    a, op, b = input().split(" ")
    a, b = [int(i) for i in (a, b)]
    if op == "+":
        print((a + b))
    elif op == "-":
        print((a - b))
    elif op == "*":
        print((a * b))
    elif op == "/":
        print((int(a / b)))
    else:
        break

# encoding:utf-8
while True:
    a, op, b = input().split()
    if op == "?":
        break
    a, b = list(map(int, (a, b)))
    if op == "+":
        print((a + b))
    elif op == "-":
        print((a - b))
    elif op == "*":
        print((a * b))
    else:
        print((a / b))

+# encoding:utf-8 -    a, op, b = input().split(" ") -    a, b = [int(i) for i in (a, b)] +    a, op, b = input().split() +    if op == "?": +        break +    a, b = list(map(int, (a, b))) -    elif op == "/": -        print((int(a / b))) -        break +        print((a / b))