a = 0
b = 0
c = 0
while b != "?" do
  a,b,c = gets.chomp.split
a = a.to_i
c = c.to_i
  if  b == "+"
    p a + c
  elsif b == "-"
    p a - c
  elsif b == "*"
    p a * c
  elsif b == "/"
    p a / c
  else
  end  
end
