#include <stdio.h>

int main(void){

    for (double w;scanf("%lf",&w)!=EOF;){
        if (w <= 48.0){
            printf("light fly\n");
        } else if(48.0 < w && w<=51.0){
            printf("fly\n");
        } else if(51.0 < w && w<=54.0){
            printf("bantam\n");
        } else if(54.0 < w && w<=57.0){
            printf("feather\n");
        } else if(57.0 < w && w<=60.0){
            printf("light\n");
        } else if(60.0 < w && w<=64.0){
            printf("light welter\n");
        } else if(69.0 < w && w<=69.0){
            printf("welter\n");
        } else if(69.0 < w && w<=75.0){
            printf("light middle\n");
        } else if(75.0 < w && w<=81.0){
            printf("middle\n");
        } else if(81.0 < w && w<=91.0){
            printf("light heavy\n");
        } else {
            printf("heavy\n");
        }
    }    
    return 0;
}