while true
  a , op , b = gets.split.map(&:to_s)
  a=a.to_i
  b=b.to_i
  case op
    when "?"
      break
    when "+"
      print a + b,"\n"
    when "-"
      print a - b,"\n"
    when "*"
      print a * b,"\n"
    when "/"
      print a / b,"\n"
    else
      break
    end
end