#include <bits/stdc++.h>
using namespace std;

int main() {
	double w;
	while(scanf("%lf", &w) != EOF){
		if(w <= 48.0)
			cout << "light fly" << endl;
		else if (48.0 < w && w <= 51.0)
			cout << "fly" << endl;
		else if(51.0 < w && w <= 54.0)
			cout << "bantam" << endl;
		else if(54.0 < w && w <= 57.0)
			cout << "feather" << endl;
		else if(57.0 < w && w <= 60.0)
			cout << "light" << endl;
		else if(60.0 < w && w <= 64.0)
			cout << "light welter" << endl;
		else if(64.00 < w && w <= 69.0)
			cout << "welter" << endl;
		else if(69.0 < w && w <= 75.0)
			cout << "light middle" << endl;
		else if(75.0 < w && w <= 81.0)
			cout << "middle" << endl;
		else if(81.0 < w && w <= 91.0)
			cout << "light heavy" << endl;
		else if(91.0 > w)
			cout << "heavy" << endl;
	}
	return 0;
}