#include <stdio.h>
main(){
  double a;
  while(scanf("%lf",&a) !=EOF){
    if(a<=48) printf("light fly");
    else if(a>48&&a<=51) printf("fly");
    else if(a>51&&a<=54) printf("bantam");
    else if(a>54&&a<=57) printf("feather");
    else if(a>57&&a<=60) printf("light");
    else if(a>60&&a<=64) printf("light welter");
    else if(a>64&&a<=69) printf("welter");
    else if(a>69&&a<=75) printf("light middle");
    else if(a>75&&a<=81) printf("middle");
    else if(a>81&&a<=91) printf("light heavy");
    else printf("heavy");
  }
 
  return 0; 
}