#include <cstdio>
using namespace std;

int main(){
	double weigh;
	
	while((scanf("%lf", &weigh)) != EOF){
		if(weigh <= 48) printf("light fly\n");
		else if(weigh <= 51) printf("fly\n");
		else if(weigh <= 54) printf("bantam\n");
		else if(weigh <= 57) printf("feather\n");
		else if(weigh <= 60) printf("light\n");
		else if(weigh <= 64) printf("light welter\n");
		else if(weigh <= 69) printf("welter\n");
		else if(weigh <= 75) printf("light middle\n");
		else if(weigh <= 81) printf("middle\n");
		else if(weigh <= 91) printf("light heavy\n");
		else printf("heavy\n");
	}
	
	return 0;
}