#include <stdio.h>
int main(){
   double n;
   while(scanf("%lf",&n)!=EOF){
        if(n>91.00){
		printf("heavy\n");
		break;
	}
	if(n>81.00){
		printf("light heavy\n");
		break;
	}
	if(n>75.00){
		printf("middle\n");
		break;
	}
	if(n>69.00){
		printf("light middle\n");
		break;
	}
	if(n>64.00){
		printf("welter\n");
		break;
	}
	if(n>60.00){
		printf("light welter\n");
		break;
	}
	if(n>57.00){
		printf("light\n");
		break;
	}
	if(n>54.00){
		printf("feather\n");
		break;
	}
	if(n>51.00){
		printf("bantam\n");
		break;
	}
	if(n>48.00){
		printf("fly\n");
		break;
	}
	printf("light fly\n");
	}
}

		