def w2l(w)
  return "light fly" if w <= 48.00
  return "fly" if w <= 51.00
  return "bantam" if w <= 54.00
  return "feather" if w <= 57.00
  return "light" if w <= 60.00
  return "light welter" if w <= 64.00
  return "welter" if w <= 69.00
  return "light middle" if w <= 75.00
  return "middle" if w <= 81.00
  return "light heavy" if w <= 91.00
  return "heavy"
end

### main

while (line = gets)
  w = line.chomp.to_f
  puts w2l(w)
end