#include <iostream>
#include <algorithm>
#include <cstdio>
#include <math.h>
using namespace std;

double c[11]={91,81,75,69,64,60,57,54,51,48,0};
string s[11]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};

int main(){
	double w;
	while(scanf("%lf",&w)!=EOF){
		for(int i=0;i<11;i++){
			if(w>c[i]){cout<<s[10-i]<<endl;break;}
		}
	}
}