//06
#include<iostream>
#include<algorithm>

using namespace std;

int main(){
  for(double h;cin>>h;){
    const double cn[]={48,51,54,57,60,64,69,75,81,91};
    const char *cs[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
    cout<<cs[lower_bound(cn,cn+sizeof(cn)/sizeof(cn[0]),h)-cn]<<endl;
  }
  return 0;
}