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