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(1):
    a = input()
    if a == "0 ? 0":
        break
    eval("print("+a+")")

while(1):
    a = input()
    if a.split()[1] == "?":
        break
    eval("print(int("+a+"))")
