#include <iostream>
using namespace std;
int main(){
	double W;
	while(cin >> W){
		if(W>91.00) cout << "heavy\n" ;
		else if(W>81.00) cout << "light heavy\n" ;
		else if(W>75.00) cout << "middle\n" ;
		else if(W>69.00) cout << "light middle\n" ;
		else if(W>64.00) cout << "welter\n" ;
		else if(W>60.00) cout << "light welter\n" ;
		else if(W>57.00) cout << "light\n" ;
		else if(W>54.00) cout << "feather\n" ;
		else if(W>51.00) cout << "bantam\n" ;
		else if(W>48.00) cout << "fly\n" ;
		else cout << "light fly\n" ;
	};
}