def clas(kg)
  if kg <= 48
    puts "light fly"
  elsif kg <= 51
    puts "fly"
  elsif kg <= 54
    puts "bantam"
  elsif kg <= 57
    puts "feather"
  elsif kg <= 60
    puts "light"
  elsif kg <= 64
    puts "light welter"
  elsif kg <= 69
    puts "welter"
  elsif kg <= 75
    puts "light middle"
  elsif kg <= 81
    puts "middle"
  elsif kg <= 91
    puts "light heavy"
  else
    puts "heavy"
  end
end
while kg = gets
  clas(kg.to_f)
end