#include<iostream>
using namespace std;

int main() {
	double a;
	while (cin >> a)
	{
		if (48.00 >= a) {
			cout << "light fly" << endl;
		}
		else if (48.00 < a&&a <= 51.00) {
			cout << "fly" << endl;
		}
		else if (51 < a&&a <= 54) {
			cout << "bantam" << endl;
		}
		else if (54 < a&&a <= 57) {
			cout << "feather" << endl;
		}
		else if (57 < a&&a <= 60) {
			cout << "light" << endl;
		}
		else if (60 < a&&a <= 64) {
			cout << "light welter" << endl;
		}
		else if (64 < a&&a <= 69) {
			cout << "welter" << endl;
		}
		else if (69 < a&&a <= 75){
			cout << "light middle" << endl;
		}
		else if (75 < a&&a <= 81) {
			cout << "middle" << endl;
		}
		else if (81 < a&&a <= 91) {
			cout << "light heavy" << endl;
		}
		else {
			cout << "heavy" << endl;
		}
	}
	return 0;
}