while true do
  a, b, c= gets.chomp.split(" ")
  num1 = a.to_i
  num2 = c.to_i
  if b == "?"
    return
  elsif b == "+"
    puts num1 + num2
  elsif b == "-"
    puts num1 - num2
  elsif b == "*"
    puts num1 * num2
  else
    puts num1 / num2
  end
end

