#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <set>
#include <sstream>
#include <map>
 
using namespace std;
 
const double eps=1e-10;

int main()
{

	int b[]={48,51,54,57,60,64,69,75,81,91};
	string g[]={
		"light fly",
		"fly",
		"bantam",
		"feather",
		"light",
		"light welter",
		"welter",
		"light middle",
		"middle",
		"light heavy",
	};

	double w;
	while(cin>>w){
		bool h=true;
		for(int i=0;i<10 && h ;i++){
			if(w<=b[i]){cout<<g[i]<<endl; h=false;}
		}
		if(h) cout<<"heavy"<<endl;
	}

	return 0;
}