while True:

    s = eval(input())

    if '?' in s:

        break

    print((int(eval(s))))

while 1:

    s = eval(input())

    if '?' in s:break

    print((int(eval(s))))

while True:
    s = eval(input())
    if "?" in s:
        break
    print((int(eval(s))))

while 1:
    s = eval(input())
    if "?" in s:
        break
    print((int(eval(s))))

-while True: +while 1: