#include<stdio.h>
int main(void)
{
	float a,s,d,f,g;
	while(scanf("%f",&a)!=EOF){
		if(a>91.00){
			printf("heavy\n");
		}
		else if(a>81){
			printf("light heavy\n");
		}
		else if(a>75){
			printf("middle\n");
		}
		else if(a>69){
			printf("light middle\n");
		}
		else if(a>64){
			printf("welter\n");
		}
		else if(a>60){
			printf("light welter\n");
		}
		else if(a>57){
			printf("light\n");
		}
		else if(a>54){
			printf("feather\n");
		}
		else if(a>51){
			printf("bantam\n");
		}
		else if(a>48){
			printf("fly\n");
		}
		else{
			printf("light fly\n");
		}
	}
	return 0;
}