#include <stdio.h>

int main(void) {
  double a;
  while(scanf("%lf", &a) != EOF) {
    if(a > 91.00) printf("heavy\n");
    else if(a > 81.00) printf("light heavy\n");
    else if(a > 75.00) printf("middle\n");
    else if(a > 69.00) printf("light middle\n");
    else if(a > 64.00) printf("welter\n");
    else if(a > 60.00) printf("light welter\n");
    else if(a > 57.00) printf("light\n");
    else if(a > 54.00) printf("feather\n");
    else if(a > 51.00) printf("bantam\n");
    else if(a > 48.00) printf("fly\n");
    else printf("light fly\n");
  }
  return 0;
}
