#include <iostream>
#include <string>
using namespace std;
int main(){
	string str[]={"light fly", "fly", "bantam", "feather", "light", "light welter",
				   "welter", "light middle", "middle", "light heavy", "heavy"
	};
	int w[]={48,51,54,57,60,64,69,75,81,91};
	double a;
	while (cin>>a){
		int i=0;
		for (int j=0; j<10; j++){
			if (w[i]<a) i++;
			else break;
		}
		cout<<str[i]<<endl;
	}
}