#include <iostream>
#include <stdio.h>
using namespace std;

struct dat {
	char n[13];
	double l;
	double h;
};

int main() {
	dat da[11]={{"light fly",0,48},{"fly",48,51},{"bantam",51,54},{"feather",54,57},{"light",57,60},{"light welter",60,64},
	{"welter",64,69},{"light middle",69,75},{"middle",75,81},{"light heavy",81,91},{"heavy",91,9999}};
 double k;
 while(cin >> k)  for (int i=0;i<11;i++) if (k>da[i].l && k<=da[i].h) cout << da[i].n << endl;
 return 0;
}