#include<cstdio>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;
int main(void)
{
	int date[11]={48.00,51.00,54.00,57.00,60.00,64.00,
				  69.00,75.00,81.00,91.00};
	int i,j;
	double n;
	while(scanf("%lf",&n)!=EOF) {
		if(n<=date[0]) printf("light fly\n");
		else if(n>date[0] && n<=date[1]) printf("fly\n");
		else if(n>date[1] && n<=date[2]) printf("bantam\n");
		else if(n>date[2] && n<=date[3]) printf("feather\n");
		else if(n>date[3] && n<=date[4]) printf("light\n");
		else if(n>date[4] && n<=date[5]) printf("light welter\n");
		else if(n>date[5] && n<=date[6]) printf("welter\n");
		else if(n>date[6] && n<=date[7]) printf("light middle\n");
		else if(n>date[7] && n<=date[8]) printf("middle\n");
		else if(n>date[8] && n<=date[9]) printf("light heavy\n");
		else if(n>date[9] && n<=date[10]) printf("heavy\n");
	}
	return 0;
}