#include<iostream>
#include<string>
using namespace std;
int main()
{
    double n;
    while(cin>>n){
        if(48.0>=n)cout<<"light fly"<<endl;
        else if(51>=n)cout<<"fly"<<endl;
        else if(54>=n)cout<<"bantam"<<endl;
        else if(57>=n)cout<<"feather"<<endl;
        else if(60>=n)cout<<"light"<<endl;
        else if(64>=n)cout<<"light welter"<<endl;
        else if(69>=n)cout<<"welter"<<endl;
        else if(75>=n)cout<<"light middle"<<endl;
        else if(81>=n)cout<<"middle"<<endl;
        else if(91>=n)cout<<"light heavy"<<endl;
        else cout<<"heavy"<<endl;
    }
}