#include <iostream>

using namespace std;

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