# eval() 执行一个字符串表达式,并返回表达式的值。
while True:
    try:
        arithmetic=input()
        print(eval(arithmetic)) 
    except:
        break