#include <stdio.h>

int main(void) {
  double weight;
  
  while(scanf("%lf", &weight) != EOF) {
    if(weight <= 48 ) {
      printf("light fly");
    }
    else if(weight <= 51) {
      printf("fly");
    }
    else if(weight <= 54) {
      printf("bantam");
    }
    else if(weight <= 57) {
      printf("feather");
    }
    else if(weight <= 60) {
      printf("light");
    }
    else if(weight <= 64) {
      printf("light welter");
    }
    else if(weight <= 69) {
      printf("welter");
    }
    else if(weight <= 75) {
      printf("light middle");
    }
    else if(weight <= 81) {
      printf("middle");
    }
    else if(weight <= 91) {
      printf("light heavy");
    }
    else {
      printf("heavy");
    }
    printf("\n");
  }
  return 0;
}