#include <iostream>
#include <string>
using namespace std;

int main()
{
	double w;
	string s;

	while (cin >> w) {
		if (w <= 48)
			s = "light fly";
		else if (w <= 51)
			s = "fly";
		else if (w <= 54)
			s = "bantam";
		else if (w <= 57)
			s = "feather";
		else if (w <= 60)
			s = "light";
		else if (w <= 64)
			s = "light welter";
		else if (w <= 69)
			s = "welter";
		else if (w <= 75)
			s = "light middle";
		else if (w <= 81)
			s = "middle";
		else if (w <= 91)
			s = "light heavy";
		else
			s = "heavy";

		cout << s << endl;
	}

	return 0;
}
