while vals = gets.split(' ')
  a = vals[0].to_i
  b = vals[2].to_i
  case vals[1]
  when '?' then
    break
  when '+' then
    puts a + b
  when '-' then
    puts a - b
  when '*' then
    puts a * b
  when '/' then
    puts a / b
  end 
end
