import scala.io.Source.stdin
 
object Main extends App {
  stdin.getLines.map(_.toDouble).foreach { x =>
    println {
      x match  {
        case i if i <= 48D => "light fly"
        case i if i <= 51D => "fly"
        case i if i <= 54D => "bantam"
        case i if i <= 57D => "feather"
        case i if i <= 60D => "light"
        case i if i <= 64D => "light welter"
        case i if i <= 69D => "welter"
        case i if i <= 75D => "light middle"
        case i if i <= 81D => "middle"
        case i if i <= 91D => "light heavy"
        case _ => "heavy"
      }
    }
  }
}