#include<iostream>
#include <string>
using namespace std;

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