#include <iostream>
#include <string>

#define LIGHT_FLY	48.00
#define FLY		 	51.00
#define BANTAM		54.00
#define FEATHER		57.00
#define LIGHT		60.00
#define LIGHT_WELTER 64.00
#define WELTER		69.00
#define LIGHT_MIDDLE 75.00
#define MIDDLE		81.00
#define LIGHT_HEAVY	91.00

using namespace std;

int main() {
	double weight;
	string strWeight;
	while(cin>>weight, !cin.eof()){
		strWeight = "";
		switch(weight){
			case LIGHT_FLY:
				strWeight = "light fly"; break;
			case FLY:
				strWeight = "fly"; break;
			case BANTAM:
				strWeight = "bantam"; break;
			case FEATHER:
				strWeight = "feather"; break;
			case LIGHT:
				strWeight = "light"; break;
			case LIGHT_WELTER:
				strWeight = "light welter"; break;
			case WELTER:
				strWeight = "welter"; break;
			case LIGHT_MIDDLE:
				strWeight = "light middle"; break;
			case MIDDLE:
				strWeight = "middle"; break;
			case LIGHT_HEAVY:
				strWeight = "light heavy"; break;
			default:
				strWeight = "heavy"; break;
		}
		cout<<strWeight<<endl;
	}
	return 0;
}