#include <iostream>
#include <cstdio>

using namespace std;

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