#include <cstdio>

double w;

int main()
{
    while (scanf("%lf\n", &w) != EOF)
    {
        if (w <= 48)
        {
            printf("%s", "light fly\n");
        }
        else if (w <= 51.00)
        {
            printf("%s", "fly\n" );
        }
        else if (w <= 54.00)
        {
            printf("%s", "bantam\n" );
        }
        else if (w <= 57.00)
        {
            printf("%s", "feather\n" );
        }
        else if (w <= 57.00)
        {
            printf("%s", "light\n" );
        }
        else if (w <= 60.00)
        {
            printf("%s", "light welter\n" );
        }
        else if (w <= 64.00)
        {
            printf("%s", "light welter\n" );
        }
        else if (w <= 69.00)
        {
            printf("%s", "welter\n" );
        }
        else if (w <= 75.00)
        {
            printf("%s", "light middle\n" );
        }
        else if (w <= 81.00)
        {
            printf("%s", "middle\n" );
        }
        else if (w <= 91.00)
        {
            printf("%s", "light heavy\n" );
        }
        else
        {
            printf("%s", "heavy\n" );
        }
    }
    return 0;
}
