#include <iostream>
#include <stdio.h>
using namespace std;

int main()
{
  double n;

  while( scanf("%lf",&n) != EOF ){


  if(n<=48){
    printf("light fly");
  }else if(n<=51){
    printf("fly");
  }else if(n<=54){
    printf("bantam");
  }else if(n<=57){
    printf("feather");
  }else if(n<=60){
    printf("light");
  }else if(n<=64){
    printf("light welter");
  }else if(n<=69){
    printf("welter");
  }else if(n<=75){
    printf("light middle");
  }else if(n<=81){
    printf("middle");
  }else if(n<=91){
    printf("light heavy");
  }else{
    printf("heavy");
  }
  printf("\n");
  }

}