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