#include<string>
#include<iostream>
using namespace std;
int main(){
  string rank[11]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
  double d;
  double RANK[11]={0,48.00,51.00,54.00,57.00,60.00,64.00,69.00,75.00,81.00,91.00};
  while(cin>>d){
    for(int i=10;i>=0;i--){
      if(d>RANK[i]){
	cout<<rank[i]<<endl;
	break;
      }
    }
  }
  return 0;
}