#include<cstdio>

using namespace std;

int main()
{
	double d;
	while(scanf("%lf",&d)!=EOF)
	{
		if(d<=48.00)
		{
			printf("light fly\n");
		}
		else if(d<=51.00)
		{
			printf("fly\n");
		}
		else if(d<=54.00)
		{
			printf("bantam\n");
		}
		else if(d<=57.00)
		{
			printf("feather\n");
		}
		else if(d<=60.00)
		{
			printf("light\n");
		}
		else if(d<=64.00)
		{
			printf("light welter\n");
		}
		else if(d<=69.00)
		{
			printf("welter\n");
		}
		else if(d<=75.00)
		{
			printf("light middle\n");
		}
		else if(d<=81.00)
		{
			printf("middle\n");
		}
		else if(d<=91.00)
		{
			printf("light heavy\n");
		}
		else
		{
			printf("heavy\n");
		}
	}
	return 0;
}