Write a program which reads two integers a, b and an operator op, and then prints the value of a op b.  The operator op is '+', '-', '*' or '/' (sum, difference, product or quotient). The division should truncate any fractional part.
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
 
    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)
    
    if op == '*':
        print(a * b)

    if op == '/':
        print(a / b)
while True:
    a, op, b = input().split()
    a = int(a)
    b = int(b)
 
    if op == '?':
        break

    if op == '+':
        print(a + b)

    if op == '-':
        print(a - b)
    
    if op == '*':
        print(a * b)

    if op == '/':
        print(a // b)