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.
result = []
while True:
    a,op,b = input().split()
    if op == '?':
        break
    elif op == '+':
        result.append(a + b)
    elif op == '-':
        result.append(a - b)
    elif op == '*':
        result.append(a * b)
    elif op == '/':
        result.append(a / b)
        
for i in result:
    print(i)
result = []
while True:
    a,op,b = input().split()
    
    if op == '?':
        break
    elif op == '+':
        result.append(int(a) + int(b))
    elif op == '-':
        result.append(int(a) - int(b))
    elif op == '*':
        result.append(int(a) * int(b))
    elif op == '/':
        result.append(int(int(a) / int(b)))
        
for i in result:
    print(i)