while input = gets
  w = input.to_f
  if w <= 48.0
    puts "light fly"
  elsif w <= 51.0
    puts "fly"
  elsif w <= 54.0
    puts "bantam"
  elsif w <= 57.0
    puts "feather"
  elsif w <= 60.0
    puts "light"
  elsif w <= 64.0
    puts "light welter"
  elsif w <= 69.0
    puts "welter"
  elsif w <= 75.0
    puts "light middle"
  elsif w <= 81.0
    puts "middle"
  elsif w <= 91.0
    puts "light heavy"
  else
    puts "heavy"
  end
end