while True:

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

    if b=='?':

        break

    elif b =='+':

        d = int(a) + int(c)

    elif b=='-':

        d = int(a) - int(c)

    elif b=='*':

        d = int(a)*int(c)

    else :

        d = int(a)/int(c)

    print((int(d)))
while True:

    Input = input().split()

    a = int(Input[0])

    op = Input[1]

    b = int(Input[2])

    

    if op == '?':

        break

    

    if op == '+':

        print((a+b))

    elif op == '-':

        print((a-b))

    elif op == '*':

        print((a*b))

    else:

        print((a//b))

while True:
    a, b, c = input().split()
    if b == "?":
        break
    elif b == "+":
        d = int(a) + int(c)
    elif b == "-":
        d = int(a) - int(c)
    elif b == "*":
        d = int(a) * int(c)
    else:
        d = int(a) / int(c)
    print((int(d)))

while True:
    Input = input().split()
    a = int(Input[0])
    op = Input[1]
    b = int(Input[2])
    if op == "?":
        break
    if op == "+":
        print((a + b))
    elif op == "-":
        print((a - b))
    elif op == "*":
        print((a * b))
    else:
        print((a // b))

-    a, b, c = input().split() -    if b == "?": +    Input = input().split() +    a = int(Input[0]) +    op = Input[1] +    b = int(Input[2]) +    if op == "?": -    elif b == "+": -        d = int(a) + int(c) -    elif b == "-": -        d = int(a) - int(c) -    elif b == "*": -        d = int(a) * int(c) +    if op == "+": +        print((a + b)) +    elif op == "-": +        print((a - b)) +    elif op == "*": +        print((a * b)) -        d = int(a) / int(c) -    print((int(d))) +        print((a // b))