#include<iostream>
#include<cstdio>
using namespace std;
main(){
	int c[11]={0,48,51,54,57,60,64,69,75,81,91},i;
	string name[11]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
	double n;
	while(cin>>n){
		for(i=0;i<10;++i){
			if(c[10]<n){
				i=10;
				break;
			}
			if(c[i]<n && c[i+1]>=n){
				break;
			}
		}
		cout<<name[i]<<endl;
	}
}