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