def f()
  a, op, b = gets.split.map(&:to_s)
  a = a.to_i
  b = b.to_i
  case
  when op == "+"
    puts a + b
  when op == "-"
    puts a - b
  when op == "*"
    puts a * b
  when op == "/"
    puts a / b
  else
    return
  end
  f()
end

f()


