while true do
  a,b,c = gets.split(" ")
  a = a.to_i
  c = c.to_i
  case b
  when "?"
    break
  when "+"
    printf("%d\n",a+c)
  when "-"
    printf("%d\n",a-c)
  when "*"
    printf("%d\n",a*c)
  when "/"
    printf("%d\n",a/c)
  end
end