#include <iostream>
using namespace std;
int main()
{
    double w;
    while(cin>>w)
    {
        int res=0;
        if(w>48)res++;
        if(w>51)res++;
        if(w>54)res++;
        if(w>57)res++;
        if(w>60)res++;
        if(w>64)res++;
        if(w>69)res++;
        if(w>75)res++;
        if(w>81)res++;
        if(w>91)res++;
        switch(res){
            case 0: cout<<"light fly"<<endl;break;
            case 1: cout<<"fly"<<endl;break;
            case 2: cout<<"bantam"<<endl;break;
            case 3: cout<<"feather"<<endl;break;
            case 4: cout<<"light"<<endl;break;
            case 5: cout<<"light welter"<<endl;break;
            case 6: cout<<"welter"<<endl;break;
            case 7: cout<<"light middle"<<endl;break;
            case 8: cout<<"middle"<<endl;break;
            case 9: cout<<"light heavy"<<endl;break;
            case 10: cout<<"heavy"<<endl;break;
        }
    }
}