//
//  akjbef.cpp
//
//
//  Created by Takuto on 15/6/3.
//
//

#include <cstdio>
#include <string>
#include <iostream>

using namespace std;

int main(){
    double w;
    string S;
    
    while(EOF!=scanf("%lf",&w)){
        
        
        if(w<=48.00)
            S = "light fly";
        else if(w<=51.00)
            S = "fly";
        else if(w<=54.00)
            S = "bantam";
        else if(w<=57.00)
            S = "feather";
        else if(w<=60.00)
            S = "light";
        else if(w<=64.00)
            S = "light welter";
        else if(w<=69.00)
            S = "welter";
        else if(w<=75.00)
            S = "light middle";
        else if(w<=81.00)
            S = "middle";
        else if(w<=91.00)
            S = "light heavy";
        else
            S = "heavy";
        
        cout << S << endl;
    }
    
    return 0;
}