while 1:

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

    a = int(a)

    b = int(b)

    if op == "?":

        break

    elif op == "+":

        print((a + b))

    elif op == "-":

        print((a - b))

    elif op == "*":

        print((a * b))

    elif op == "/":

        print((int(a / b)))

        
op = ""

while op != "?":

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

    a = int(a)

    b = int(b)

    if op == "+":

        print((a + b))

    elif op == "-":

        print((a - b))

    elif op == "*":

        print((a * b))

    elif op == "/":

        print((int(a / b)))

    elif op == "?":

        break
while 1:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
    if op == "?":
        break
    elif op == "+":
        print((a + b))
    elif op == "-":
        print((a - b))
    elif op == "*":
        print((a * b))
    elif op == "/":
        print((int(a / b)))

op = ""
while op != "?":
    a, op, b = input().split()
    a = int(a)
    b = int(b)
    if op == "+":
        print((a + b))
    elif op == "-":
        print((a - b))
    elif op == "*":
        print((a * b))
    elif op == "/":
        print((int(a / b)))
    elif op == "?":
        break

-while 1: +op = "" +while op != "?": -    if op == "?": -        break -    elif op == "+": +    if op == "+": +    elif op == "?": +        break