#include<iostream>
using namespace std;

int main () {
	float weight;
	while ( cin >> weight ) {
		if ( 48 >= weight )	cout << "light fly" << endl;
		else if ( 51 >= weight )	cout << "fly" << endl;
		else if ( 54 >= weight )	cout << "bantam" << endl;
		else if ( 57 >= weight )	cout << "feather" << endl;
		else if ( 60 >= weight )	cout << "light" << endl;
		else if ( 64 >= weight )	cout << "light welter" << endl;
		else if ( 69 >= weight )	cout << "welter" << endl;
		else if ( 75 >= weight )	cout << "light middle" << endl;
		else if ( 81 >= weight )	cout << "middle" << endl;
		else if ( 91 >= weight )	cout << "light heavy" << endl;
		else	cout << "heavy" << endl;
	}
}