#include<iostream>
#include<string>
using namespace std;
int main()
{
	double w[50];
	string k[50];
	int i = 0;
	while (cin >> w[i]) {
		i++;
	}
	for (int j = 0; j < i; j++) {
		if (w[j] <= 48.00) {
			k[j] = "light fly";

		}
		else if ((w[j] > 48.00) && (w[j] <= 51.00)) {
			k[j] = "fly";
		}
		else if ((w[j] > 51.00) && (w[j] <= 54.00)) {
			k[j] = "bantam";
		}
		else if ((w[j] > 54.00) && (w[j] <= 57.00)) {
			k[j] = "feather";
		}
		else if ((w[j] > 57.00) && (w[j] <= 60.00)) {
			k[j] = "light";
		}
		else if ((w[j] > 60.00) && (w[j] <= 64.00)) {
			k[j] = "light welter";
		}
		else if ((w[j] > 69.00) && (w[j] <= 75.00)) {
			k[j] = "welter";
		}
		else if ((w[j] > 75.00) && (w[j] <= 81.00)) {
			k[j] = "light middle";

		}
		else if ((w[j] > 81.00) && (w[j] <= 91.00)) {
			k[j] = "light heavy";
		}
		else {
			k[j] = "heavy";
		}
		cout << k[j] << endl;
	}


	return 0;
}