#include <iostream>

using namespace std;

int main()
{
	double wt;
	
	while(cin >> wt){
		if(wt <= 48.00)         cout << "light fly\n";
		else if(wt <= 51.00)    cout << "fly\n";
		else if(wt <= 54.00)    cout << "bantam\n";
		else if(wt <= 57.00)    cout << "feather\n";
		else if(wt <= 60.00)    cout << "light\n";
		else if(wt <= 64.00)    cout << "light welter\n";
		else if(wt <= 69.00)    cout << "welter\n";
		else if(wt <= 75.00)    cout << "light middle\n";
		else if(wt <= 81.00)    cout << "middle\n";
		else if(wt <= 91.00)    cout << "light heavy\n";
		else                    cout << "heavy\n";
	}
	
	return 0;
}