#include<iostream>
using namespace std;
int main() {
	double a;
	while (cin >> a) {
		if (a > 91.00){
			cout << "heavy";
		}
		else if (a > 81.00){
			cout << "light heavy";
		}
		else if (a > 75.00){
			cout << "middle";
		}
		else if (a > 69.00)
		{
			cout << "light middle";
		}
		else if (a > 64.00)
		{
			cout << "welter";
		}
		else if (a > 60.00)
		{
			cout << "light welter";
		}
		else if (a > 57.00)
		{
			cout << "light";
		}
		else if (a > 54.00)
		{
			cout << "feather";
		}
		else if (a > 51.00){
			cout << "bantam";
		}
		else if (a > 48.00)
		{
			cout << "fly";
		}
		else cout << "light fly";
		cout << endl;
	}
}