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