#include<iostream>
using namespace std;

int main(){
	double m;
	while(cin >> m){
		if(m <= 48) cout << "light fly" << endl;
		if(m > 48 && m <= 51) cout << "fly" << endl;
		if(m > 51 && m <= 54) cout << "bantam" << endl;
		if(m > 54 && m <= 57) cout << "feather" << endl;
		if(m > 57 && m <= 60) cout << "light" << endl;
		if(m > 60 && m <= 64) cout << "light welter" << endl;
		if(m > 64 && m <= 69) cout << "welter" << endl;
		if(m > 69 && m <= 75) cout << "light middle" << endl;
		if(m > 75 && m <= 81) cout << "middle" << endl;
		if(m > 81 && m <= 91) cout << "light heavy" << endl;
		if(m > 91) cout << "heavy" << endl;
	}
}