#include<cstdio>
#include<algorithm>
#include<vector>
#include<string>
#include<iostream>
#include<queue>
#include<map>
#include<set>
#include<complex>
#include<stack>
#include<cmath>

using namespace std;

#define reps(i,f,n) for(int i=f;i<int(n);i++)
#define rep(i,n) reps(i,0,n)


int main(){
	
	double sp[]={48,51,54,57,60,64,69,75,81,91,1e50};
	string s[]={
		"light fly",
		"fly",
		"bantam",
		"feather",
		"light",
		"light welter",
		"welter",
		"light middle",
		"middle",
		"light heavy",
		"heavy",
	};
	
	double a;
	while(cin>>a){
		rep(i,10000){
			if(sp[i]>=a){
				cout<<s[i]<<endl;
				break;
			}
		}
	}
}