#include <stdio.h>
#include <string>

using std::string;

int main() {
        string ans[] = {
                "light fly",
                "fly",
                "bantam",
                "feather",
                "light",
                "light welter",
                "welter",
                "light middle",
                "middle",
                "light heavy",
                "heavy"
        };
        float weight[] = {
                48.00,
                51.00,
                54.00,
                57.00,
                60.00,
                64.00,
                69.00,
                75.00,
                81.00,
                91.00,
                160.0
        };
        float w;

        while (scanf("%f", &w) != EOF) {
                int i = 0;
                while (w > weight[i]) {
                        i++;
                }
                printf("%s\n", ans[i].c_str());
        }

        return 0;
}