while line = gets
  weight = line.to_f
  case true
  when weight <= 48 then puts "light fly"
  when weight <= 51 then puts "fly"
  when weight <= 54 then puts "bantam"
  when weight <= 57 then puts "feather"
  when weight <= 60 then puts "light"
  when weight <= 64 then puts "light welter"
  when weight <= 69 then puts "welter"
  when weight <= 75 then puts "light middle"
  when weight <= 81 then puts "middle"
  when weight <= 91 then puts "light heavy"
  else puts "heavy"
  end
end