#include<iostream>
using namespace std;

int main()
{
    double weight;
    while(cin >> weight)
    {
        if(weight> 91){cout <<"heavy" << endl; continue;}
        if(weight> 81){cout <<"light heavy" << endl; continue;}
        if(weight> 75){cout <<"middle" << endl; continue;}
        if(weight> 69){cout <<"light middle" << endl; continue;}
        if(weight> 64){cout <<"welter" << endl; continue;}
        if(weight> 60){cout <<"light welter" << endl; continue;}
        if(weight> 57){cout <<"light" << endl; continue;}
        if(weight> 54){cout <<"feather" << endl; continue;}
        if(weight> 51){cout <<"bantam" << endl; continue;}
        if(weight> 48){cout <<"fly" << endl; continue;}
        else {cout <<"light fly" << endl; continue;}

    }
    
    return 0;
}