#include <bits/stdc++.h>
using namespace std;
int main(){
string s[]={"light fly", "fly", "bantam", "feather", "light", "light welter","welter", "light middle", "middle", "light heavy", "heavy"};
int w[]={48,51,54,57,60,64,69,75,81,91};double a;
while(cin>>a){int i,j;
for (i=j=0; j<10; j++){if (w[i]<a) i++;else break;}
cout<<s[i]<<endl;}}