#define scanf_s scanf
//#define gets_s gets
#include <stdio.h>
#include <string>
#include <iostream>
#include <math.h>
using namespace std;
#define MIN 39
#define MAX 150
int main(void)
{
	char *C[] = { "light fly" ,"fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy" };
	double x, w[12] = { MIN,48,51,54,57,60,64,69,75,81,91,MAX };
	while (scanf_s("%lf",&x) != EOF) {
		for (int i = 1; i < 12; ++i) {
			if (w[i - 1] < x && x <= w[i]) {
				printf("%s\n", C[i - 1]);
				break;
			}
		}
	}
}