#include <iostream>
using namespace std ;

int main()
{
	char clsnam[11][20] = { "light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy" } ;

	double CLASS[10] = { 48.00, 51.00, 54.00, 57.00, 60.00, 64.00, 69.00, 75.00, 81.00, 91.00 } ;
	double get ;

	while( cin >> get )
	{
		for( int i = 9 ; i >= 0 ; i -- )
		{
			if( get <= CLASS[i] )
			{
				if( i == 0 ){ cout << clsnam[0] << endl ; }
			}
			else
			{
				cout << clsnam[i+1] << endl ;
				break ;
			}
		}
	}

	return 0 ;
}