#include<iostream>
using namespace std;

int main()
{
	string className[11] = {"light fly", "fly", "bantam", "feather", "light", "light welter", "welter", "light middle", "middle", "light heavy", "heavy"};
	int c;
	double weight;

	while (cin>>weight) {
		if (weight <= 48.0) c = 0;
		else if (weight <= 51.0) c = 1;
		else if (weight <= 54.0) c = 2;
		else if (weight <= 57.0) c = 3;
		else if (weight <= 60.0) c = 4;
		else if (weight <= 64.0) c = 5;
		else if (weight <= 69.0) c = 6;
		else if (weight <= 75.0) c = 7;
		else if (weight <= 81.0) c = 8;
		else if (weight <= 91.0) c = 9;
		else c = 10;
		cout<<className[c]<<endl;
	}
	return 0;
}