
#include <iostream>
#include <string>

using namespace std;

string whatclass(double d){ 
        string s;
        if(d <= 48){
                s = "light fly";
        }else if(d <= 51){
                s = "fly";
        }else if(d <= 54){
                s = "bantam";
        }else if(d <= 57){
                s = "feather";
        }else if(d <= 60){
                s = "light";
        }else if(d <= 64){
                s = "light welter";
        }else if(d <= 69){
                s = "welter";
        }else if(d <= 75){
                s = "light middle";
        }else if(d <= 81){
                s = "middle";
        }else if(d <= 91){
                s = "light heavy";
        }else{
                s = "heavy";
        }   
        return s;

}
int main(){
        double in; 
        while(cin >> in){
                cout << whatclass(in) << endl;
        }   
}