while w = gets.to_f do
  r = ""
  if w <= 48.0 then r = light
  elsif w > 48.0 && w <= 51.0 then r = "fly"
  elsif w > 51.0 && w <= 54.0 then r = "bandam"
  elsif w > 54.0 && w <= 57.0 then r = "feather"
  elsif w > 57.0 && w <= 60.0 then r = "light"
  elsif w > 60.0 && w <= 64.0 then r = "light welter"
  elsif w > 64.0 && w <= 69.0 then r = "welter"
  elsif w > 69.0 && w <= 75.0 then r = "light middle"
  elsif w > 75.0 && w <= 81.0 then r = "middle"
  elsif w > 81.0 && w <= 91.0 then r = "light heavy"
  else r = "heavy"
  end
  puts r
end
