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

int main(){
	double input;
	string s;

	while ( cin >> input ){
		if ( input <= 48.0 ){
			s = "light fly";
		}else if ( input <= 51.0 ){
			s = "fly";
		}else if ( input <= 54.0 ){
			s = "bantam";
		}else if ( input <= 57.0 ){
			s = "feather";
		}else if ( input <= 60.0 ){
			s = "light";
		}else if ( input <= 64.0 ){
			s = "light welter";
		}else if ( input <= 69.0 ){
			s = "welter";
		}else if ( input <= 75.0 ){
			s = "light middle";
		}else if ( input <= 81.0 ){
			s = "middle";
		}else if ( input <= 91.0 ){
			s = "light heavy";
		}else{
			s = "heavy";
		}

		cout << s << endl;
	}

	return 0;
}