while True:

    line = input().split()

    a = int(line[0])

    b = int(line[2])

    op = line[1]



    if op == '+':

        print((a + b))

    elif op == '-':

        print((a - b))

    elif op == '*':

        print((a * b))

    elif op == '/':

        print((a // b))

    else:

        break
while True:

    line = eval(input())

    if '?' in line:

        break

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

while True:
    line = eval(input())
    if "?" in line:
        break
    print((eval(line.replace("/", "//"))))

-    line = input().split() -    a = int(line[0]) -    b = int(line[2]) -    op = line[1] -    if op == "+": -        print((a + b)) -    elif op == "-": -        print((a - b)) -    elif op == "*": -        print((a * b)) -    elif op == "/": -        print((a // b)) -    else: +    line = eval(input()) +    if "?" in line: +    print((eval(line.replace("/", "//"))))