while tmp = gets
  tmp = tmp.chomp.to_f
  if tmp <= 48
    puts "light fly"
  elsif tmp <= 51
    puts "fly"
  elsif tmp <= 54
    puts "bantam"
  elsif tmp <= 57
    puts "feather"
  elsif tmp <= 60
    puts "light"
  elsif tmp <= 64
    puts "light welter"
  elsif tmp <= 69
    puts "welter"
  elsif tmp <= 75
    puts "light middle"
  elsif tmp <= 81
    puts "middle"
  elsif tmp <= 91
    puts "light heavy"
  elsif 91 < tmp
    puts "heavy"
  end

end
