while str=gets
    array=str.split(" ")
    a=array[0].to_i
    b=array[2].to_i
    op=array[1]
    if op =="+" then
        print(a+b,"\n")
    elsif op =="-" then
        print(a-b,"\n")
    elsif op =="*" then
        print(a*b,"\n")
    elsif op =="/" then
        print(a/b,"\n")
    elsif op =="?" then
        exit(0)
   end 
end