#include <cstdio>
using namespace std;

double w;

const char *Classify(double w) {
  if (48.00 >= w) return "light fly";
  if (48.00 < w && 51.00 >= w) return "fly";
  if (51.00 < w && 54.00 >= w) return "bantam";
  if (54.00 < w && 57.00 >= w) return "feather";
  if (57.00 < w && 60.00 >= w) return "light";
  if (60.00 < w && 64.00 >= w) return "light welter";
  if (64.00 < w && 69.00  >= w) return "welter";
  if (69.00 < w && 75.00  >= w) return "light middle";
  if ( 75.00 < w && 81.00  >= w) return "middle";
  if (81.00 < w && 91.00  >= w) return "light heavy";
  if (91.00 < w) return "heavy";
}

int main() {
  while (1) {
    if (scanf("%lf", &w) != 1) break;
    puts(Classify(w));
  }
}