#include <iostream>
#include <vector>
#include <algorithm>

#define INPUT_FROM_FILE (0) 
#if INPUT_FROM_FILE
#include <fstream>
#endif

int main(int argc, char **argv){
	double w;

#if INPUT_FROM_FILE
	//std::ifstream ifs("test.txt");
	FILE *fp = fopen("test.txt", "r");
#endif

	
#if INPUT_FROM_FILE
	while(fscanf(fp, "%lf", &w) != EOF){
#else
	while(scanf("%lf", &w) != EOF){
#endif
		if(w <= 48){
			std::cout << "light fly" << std::endl;
		}
		else if(w <= 51){
			std::cout << "fly" << std::endl;
		}
		else if(w <= 54){
			std::cout << "bantam" << std::endl;
		}
		else if(w <= 57){
			std::cout << "feather" << std::endl;
		}
		else if(w <= 60){
			std::cout << "light" << std::endl;
		}
		else if(w <= 64){
			std::cout << "light welter" << std::endl;
		}
		else if(w <= 69){
			std::cout << "welter" << std::endl;
		}
		else if(w <= 75){
			std::cout << "light middle" << std::endl;
		}
		else if(w <= 81){
			std::cout << "middle" << std::endl;
		}
		else if(w <= 91){
			std::cout << "light heavy" << std::endl;
		}
		else{
			std::cout << "heavy" << std::endl;
		}
	}
	return 0;
}

