#include <cstdio>
using namespace std;

double base[] = {
	48.0, 51.0, 54.0, 57.0, 60.0, 64.0, 69.0, 75.0, 81.0, 91.0
};
const char *name[] = {
	"light fly",
	"fly",
	"bantam",
	"feather",
	"light",
	"light welter",
	"welter",
	"light middle",
	"middle",
	"light heavy",
};

int main(){
	double w;
	while(scanf("%lf", &w) == 1){
		const char *ans = "heavy";
		for(int i = 0; i < 10; ++i){
			if(w <= base[i]){
				ans = name[i];
				break;
			}
		}
		puts(ans);
	}
}