#include <iostream>

using namespace std;

int main(){
	double a;
	
	
	while(cin >> a)
	{	
		if(a <= 48.00){
			cout << "light fly" << endl;
		}
		
		else if(a <= 51.00 && 48.0 < a){
				cout << "fly" << endl;	}
		
		else if(a <= 54.00 && 51.00 < a){
			cout << "bantam" << endl;
			}
		
		else if(a <= 57.00 && 54.00 < a){
			cout << "feather" << endl;
		}
		
		else if(a <= 60.00 && 57.00 < a){
			cout << "light" << endl;
		}
		
		else if(a <= 64.00 && 60.00 < a){
			cout << "light welter" << endl;
		}
		
		else if(a <= 69.00 && 64.00 < a){
			cout << "welter" << endl;
		}
		
		else if(a <= 75.00 && 69.00 < a){
			cout << "light middle" << endl;
		}
		
		else if(a <= 81.00 && 75.00 < a){
			cout << "middle" << endl;
		}
		
		else if(a <= 91.00 && 81.00 < a){
			cout << "light heavy" << endl;
		}
		
		else if(a > 91.00){
			cout << "heavy" << endl;
		}
	}
	
	return 0;
}