#include <iostream>

using namespace std;

int main(void){
	double tmp;
	
	while(cin >> tmp){
		if(tmp <= 48){
			cout << "light fly" <<endl;
		}else if(tmp <= 51){
			cout << "fly" << endl;
		}else if(tmp <= 54){
			cout << "bantam" << endl;
		}else if(tmp <= 57){
			cout << "feather" << endl;
		}else if(tmp <= 60){
			cout << "light" << endl;
		}else if(tmp <= 64){
			cout << "light welter" << endl;
		}else if(tmp <= 69){
			cout << "welter" << endl;
		}else if(tmp <= 75){
			cout << "light middle" << endl;
		}else if(tmp <= 81){
			cout << "middle" << endl;
		}else if(tmp <= 91){
			cout << "light heavy" << endl;
		}else{
			cout << "heavy" << endl;
		}
	}
}