#include <iostream>
#include <string>

using namespace std;

string judge(double x);

int main(void) {
	double kg;
	while(cin >> kg) {
		cout << judge(kg) << endl;;
	}
	
	return 0;
}

string judge(double x) {
	if(x <= 48.00)							return "light fly";
	else if(x > 48.00 && x <= 51.00)		return "fly";
	else if(x > 51.00 && x <= 54.00)		return "bantam";
	else if(x > 54.00 && x <= 57.00)		return "feather";
	else if(x > 57.00 && x <= 60.00)		return "light";
	else if(x > 60.00 && x <= 64.00)		return "light welter";
	else if(x > 64.00 && x <= 69.00)		return "welter";
	else if(x > 69.00 && x <= 75.00)		return "light middle";
	else if(x > 75.00 && x <= 81.00)		return "middle";
	else if(x > 81.00 && x <= 91.00)		return "light heavy";
	else									return "heavy";
}