#include <stdio.h>

int main(void)
{
	int i = 0, j;
	double w[80];
	
	while(scanf("%lf", &w[i]) != EOF){
		i++;
	}
		
	for(j = 0;j < i;j++){
		
		if(w[j] <= 48.00){
			printf("light fly\n");
		}
		else if(48.00 < w[j] && w[j] <= 51.00){
			printf("fly\n");
		}
		else if(51.00 < w[j] && w[j] <= 54.00){
			printf("bantam\n");
		}
		else if(54.00 < w[j] && w[j] <= 57.00){
			printf("feather\n");
		}
		else if(57.00 < w[j] && w[j] <= 60.00){
			printf("light\n");
		}
		else if(60.00 < w[j] && w[j] <= 64.00){
			printf("light welter\n");
		}
		else if(64.00 < w[j] && w[j] <= 69.00){
			printf("welther\n");
		}
		else if(69.00 < w[j] && w[j] <= 75.00){
			printf("light middle\n");
		}
		else if(75.00 < w[j] && w[j] <= 81.00){
			printf("middle\n");
		}
		else if(81.00 < w[j] && w[j] <= 91.00){
			printf("light heavy\n");
		}
		else if(91.00 < w[j]){
			printf("heavy\n");
		}
	}
	
	return 0;
}