//0048
#include<cstdio>
#include<cmath>
using namespace std;

int main(void)
{
	double d;
	while(scanf("%lf", &d) == 1)
	{
		if(d <= 48.0)
			printf("light fly\n");
		else if( d <= 60.0)
		{
			const char* str[] = {"fly", "bantam", "feather", "light"};
			const int index = ((int)ceil(d)-49)/3;
			printf("%s\n", str[index]);
		}
		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;
}