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.
a, op, b = input().split()
while op != '?':
    a, b = int(a), int(b)
    if op == '+': a += b
    if op == '-': a -= b
    if op == '*': a *= b
    if op == '/': a /= b
    print(a)
    a, op, b = input().split()

a, op, b = input().split()
while op != '?':
    a, b = int(a), int(b)
    if op == '+': a += b
    if op == '-': a -= b
    if op == '*': a *= b
    if op == '/': a = int(a / b)
    print(a)
    a, op, b = input().split()
