while true
  a, op, b = gets.split
  a, b = a.to_i, b.to_i
  case op
  when "?"
    break
  when "+"
    puts a + b
  when "-"
    puts a - b
  when "*"
    puts a * b
  when "/"
    puts a / b
  end
end