#include<cstdio>
#include<cmath>
#include<algorithm>
#include<cstdio>
#include<cmath>
#include<iostream>

using namespace std;


void Solution()
{
    float n;
    
    while (cin>>n)
    {
        if(n <= 48) cout<<"light fly";
        else if(n <= 51) cout<<"fly";
        else if(n <= 54) cout<<"bantam";
        else if(n <= 57) cout<<"feather";
        else if(n <= 60) cout<<"light";
        else if(n <= 64) cout<<"light welter";
        else if(n <= 69) cout<<"welter";
        else if(n <= 75) cout<<"light middle";
        else if(n <= 81) cout<<"middle";
        else if(n <= 91) cout<<"light heavy";
        else cout<<"heavy";
        
        cout<<endl;
    }
}

int main()
{
    Solution();
    return 0;
}