#include<iostream>
using namespace std;
int main(){
	double weight;
	while(cin >> weight){
		if(weight <= 48)
			cout << "light fly" << endl;
		if(weight > 48 && weight <= 51)
			cout << "fly" << endl;
		if(weight > 51 && weight <= 54)
			cout << "bantam" << endl;
		if(weight > 54 && weight <= 57)
			cout << "feather" << endl;
		if(weight > 57 && weight <= 60)
			cout << "light" << endl;
		if(weight > 60 && weight <= 64)
			cout << "light welter" << endl;
		if(weight > 64 && weight <= 69)
			cout << "welter" << endl;
		if(weight > 69 && weight <= 75)
			cout << "light middle" << endl;
		if(weight > 75 && weight <= 81)
			cout << "middle" << endl;
		if(weight > 81 && weight <= 91)
			cout << "light heavy" << endl;
		if(weight > 91)
			cout << "heavy" << endl;
	}
}