#include <iostream>
#include <vector>
#include <string>
using namespace std;

int main()
{
    vector<string> r;
    string tmp;
    double weight;
    while (cin >> weight)
    {
	if (weight <= 48) {
	    tmp = "light fly";
	} else if (weight <= 51) {
	    tmp = "fly";
	} else if (weight <= 54) {
	    tmp = "bantam";
	} else if (weight <= 57) {
	    tmp = "feather";
	} else if (weight <= 60) {
	    tmp = "light";
	} else if (weight <= 64) {
	    tmp = "light welter";
	} else if (weight <= 69) {
	    tmp = "welter";
	} else if (weight <= 75) {
	    tmp = "light middle";
	} else if (weight <= 81) {
	    tmp = "middle";
	} else if (weight <= 91) {
	    tmp = "light heavy";
	} else {
	    tmp = "heavy";
	}
	r.push_back(tmp);
    }
    for (int i=0; i<r.size(); i++)
	cout << r[i] << endl;
}