#include<cstdio>
int main(){
	double weight;
	scanf("%lf",&weight);

	if(weight<=48.00) printf("light fly\n");
	if(weight>48.00 && weight<=51.00) printf("fly\n");
	if(weight>51.00 && weight<=54.00) printf("bantam\n");
	if(weight>54.00 && weight<=57.00) printf("feather\n");
	if(weight>57.00 && weight<=60.00) printf("light\n");
	if(weight>60.00 && weight<=64.00) printf("light welter\n");
	if(weight>64.00 && weight<=69.00) printf("welter\n");
	if(weight>69.00 && weight<=75.00) printf("light middle\n");
	if(weight>75.00 && weight<=81.00) printf("middle\n");
	if(weight>81.00 && weight<=91.00) printf("light heavy\n");
	if(weight>91.00) printf("heavy\n");

	return 0;
}