import std.stdio, std.string, std.conv;

void main()
{
    while(true)
    {
        auto line = readln;
        if(!line)break;
        auto f = line.chomp.to!real;
        f.classify.writeln;
    }
}

string classify(real w)
{
    if(w <= 48) return "light fly";
    if(w <= 51) return "fly";
    if(w <= 54) return "bantam";
    if(w <= 57) return "feather";
    if(w <= 60) return "light";
    if(w <= 64) return "light welter";
    if(w <= 69) return "welter";
    if(w <= 75) return "light middle";
    if(w <= 81) return "middle";
    if(w <= 91) return "light heavy";
    return "heavy";
}