#include <iostream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <functional>

using namespace std;

string rank( double weight )
{
	if ( weight <= 48 )
	{
		return "light fly";
	}
	else if ( weight <= 51 )
	{
		return "fly";
	}
	else if ( weight <= 54 )
	{
		return "bantam";
	}
	else if ( weight <= 57 )
	{
		return "feather";
	}
	else if ( weight <= 60 )
	{
		return "light";
	}
	else if ( weight <= 64 )
	{
		return "light welter";
	}
	else if ( weight <= 69 )
	{
		return "welter";
	}
	else if ( weight <= 75 )
	{
		return "light middle";
	}
	else if ( weight <= 81 )
	{
		return "middle";
	}
	else if ( weight <= 91 )
	{
		return "light heavy";
	}
	else
	{
		return "heavy";
	}
}

int main()
{
	double input;

	while ( cin >> input )
	{
		cout << rank( input ) << endl;
	}

	return 0;
}