#include<cstdio>
int main(){
double weight;
scanf("&lf",&weight);
if(weight<=48) printf("light fly\n");
if(weight>48&&weight>=51) printf("fly\n");
if(weight>51&&weight>=54) printf("bantam\n");
if(weight>54&&weight>=57) printf("feather\n");
if(weight>57&&weight>=60) printf("light welter\n");
if(weight>60&&weight>=64) printf("welter\n");
if(weight>64&&weight>=69) printf("light middle\n");
if(weight>69&&weight>=75) printf("middle\n");
if(weight>75&&weight>=81) printf("bantam\n");
if(weight>81&&weight>=91) printf("light heavy\n");
if(weight>91) printf("heavy\n");
return 0;
}