#include <bits/stdc++.h>
using namespace std;

int main(){
	double a;
	while(cin >> a){
		if(cin.eof()) break;
		if(a<=48)
			puts("light fly");
		else if(a<=51)
			puts("fly");
		else if(a<=54)
			puts("bantam");
		else if(a<=57)
			puts("feather");
		else if(a<=60)
			puts("light");
		else if(a<=64)
			puts("light welter");
		else if(a<=69)
			puts("welter");
		else if(a<=75)
			puts("light middle");
		else if(a<=81)
			puts("middle");
		else if(a<=91)
			puts("light heavy");
		else
			puts("heavy");
	}
	return 0;
}