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