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(a/b)
while 1:

    x = input()

    i = x.split()

    if i[1]=="?": break

    print(eval(x))
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(a / b)

while 1:
    x = input()
    i = x.split()
    if i[1] == "?":
        break
    print(eval(x))

-    a, op, b = input().split() -    a = int(a) -    b = int(b) -    if op == "?": +    x = input() +    i = x.split() +    if i[1] == "?": -    elif op == "+": -        print(a + b) -    elif op == "-": -        print(a - b) -    elif op == "*": -        print(a * b) -    elif op == "/": -        print(a / b) +    print(eval(x))