#include<iostream>
#include<string>
using namespace std;
int main(){
	double a;
	string b;
	while(cin>>a){
		if(a<=48)
			b="light fly";
		if(a>48&&a<=51)
			b="fly";
		if(a>51&&a<=54)
			b="bantam";
		if(a>54&&a<=57)
			b="feather";
		if(a>57&&a<=60)
			b="light";
		if(a>60&&a<=64)
			b="light welter";
		if(a>64&&a<=69)
			b="welter";
		if(a>69&&a<=75)
			b="light middle";
		if(a>75&&a<=81)
			b="middle";
		if(a>81&&a<=91)
			b="light heavy";
		if(a>91)
			b="heavy";
		cout<<b<<endl;
	}
	return 0;
}