#include<stdio.h>
int main()
{
	float w;
	while(scanf("%f",&w)!=EOF){
		if(w<=48.0){
			printf("light fly");
		}else if(w<=51.0){
			printf("fly");
		}else if(w<=54.0){
			printf("bantam");
		}else if(w<=57.0){
			printf("feather");
		}else if(w<=60.0){
			printf("light");
		}else if(w<=64.0){
			printf("light welter");
		}else if(w<=69.0){
			printf("welter");
		}else if(w<=75.0){
			printf("light middle");
		}else if(w<=81.0){
			printf("middle");
		}else if(w<=91.0){
			printf("light heavy");
		}else{
			printf("heavy");
		}
		printf("\n");
	}
	return 0;
}