while 1 :
    a, op, b= raw_input().split()
    c = int(a)
    d = int(b)
    if op == '?': break
    elif op == '+': print c + d
    elif op == '-': print c - d
    elif op == '*': print c * d
    elif op == '/': print c / d
898a2a364f678ca3accac6116a71419e35884168
while 1 :
    a, op, b= raw_input().split()
    c = int(a)
    d = int(b)
    if op == '?': break
    elif op == '+': print c + d
    elif op == '-': print c - d
    elif op == '*': print c * d
    elif op == '/': print c / d