#include <iostream>

using namespace std;

typedef struct _CLASS {
	string name;
	double mini;
	double maxi;
} CLASS;

int main() {
	CLASS Class[11] = {
		{"light fly"	, -1.00, 48.00},
		{"fly"			, 48.00, 51.00},
		{"bantam"		, 51.00, 54.00},
		{"feather"		, 54.00, 57.00},
		{"light"		, 57.00, 60.00},
		{"light welter"	, 60.00, 64.00},
		{"welter"		, 64.00, 69.00},
		{"light middle"	, 69.00, 75.00},
		{"middle"		, 75.00, 81.00},
		{"light heavy"	, 81.00, 91.00},
		{"heavy"		, 91.00, 1000000.00},
	};
	double w;
	while (cin >> w) {
		for (int i = 0; i < 11; i++) {
			if (Class[i].mini < w && w <= Class[i].maxi) {
				cout << Class[i].name << endl;
				break;
			}
		}
	}
	return 0;
}