lines = $stdin.read.split(?\n)
lines.each do |line|
  a, op, b = line.split(' ')
  break if op == '?'
  a, b = a.to_i, b.to_i
  case op
  when "+" then puts a + b
  when "-" then puts a - b
  when "*" then puts a * b
  when "/" then puts a / b
  end
end