#include <iostream>
#include <string>
#include <utility>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <cstring>

using namespace std;


string s(double d){
	if(d<=48)return "light fly";
	if(d<=51)return "fly";
	if(d<=54)return "bantam";
	if(d<=57)return "feather";
	if(d<=60)return "light";
	if(d<=64)return "light welter";
	if(d<=69)return "welter";
	if(d<=75)return "light middle";
	if(d<=81)return "middle";
	if(d<=91)return "light heavy";
	return "heavy";
}

int main(){
	double d;
	while(cin>>d){
		cout<<s(d)<<endl;
	}
}