#include <iostream>
#include <string>
using namespace std;
int main()
{
	double w, x[10] = {91.00, 81.00, 75.00, 69.00, 64.00, 60.00, 57.00, 54.00, 51.00, 48.00};
	string r[11] = {"heavy", "light heavy", "middle", "light middle", "welter", "light welter", "light", "feather", "bantam", "fly", "light fly"};
	bool f = false;
	while (cin >> w)
	{
		if (cin.eof()) break;
		for (int i = 0; i < 10; i++)
		{
			if (w > x[i])
			{
				cout << r[i] << endl;
				f = true;
				break;
			}
		}
		if (!f) cout << r[10] << endl;
		f = false;
	}
}