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:
    list = input().split()
    a = int(list[0])
    b = int(list[2])
    op = list[1]
    if op == "?": break
    elif op == "+": print(a+b)
    elif op == "-": print(a-b)
    elif op == "*": print(a*b)
    elif op == "/": print(a/b)


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