#include<iostream>
#include<string>
using namespace std;

int main(){
  string classes[11] = {"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
  double a;
  int maxmin[10] = {48,51,54,57,60,64,69,75,81,91};
  int cou;
  while(cin >> a){
    cou=10;
    for(int i=0;i<10;i++){
      if(a<maxmin[i]){
	cou = i;
	break;
      }
    }
    cout << classes[cou] << endl;
  }  
}  