#include <cstdio>
#include <cstring>
#include <algorithm>
#include <string>
#include <cmath>
#include <stack>
#include <vector>
#include <map>
#include <set>
#include <iostream>
#include <climits>
#include <cfloat>


using namespace std;


int main()
{
	char* rank[] = {
		"light fly",
		"fly",
		"bantam",
		"feather",
		"light",
		"light welter",
		"welter",
		"light middle",
		"middle",
		"light heavy",
		"heavy",
	};
	double weight[] = {
		48,
		51,
		54,
		57,
		60,
		64,
		69,
		75,
		81,
		91,
	};

	double w;
	while (scanf("%lf", &w) != EOF)
	{
		int i;
		for (i = 0; i < sizeof(weight)/sizeof(weight[0]); ++i)
		{
			if (w <= weight[i])
				break;
		}
		printf("%s\n", rank[i]);
	}

	return 0;
}