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