#include <iostream>
#include <string>
using namespace std;

double bd[] = {48,51,54,57,60,64,69,75,81,91};
string cs[] = {"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
int main()
{
	double w;
	while(cin >> w)
	{
		string str=cs[10];
		for(int i=0; i<10; i++)
		{
			if(w<=bd[i])
			{
				str = cs[i];
				break;
			}
		}
		cout << str << endl;
	}

}