#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,maxmin[10] = {48.1,51.1,54.1,57.1,60.1,64.1,69.1,75.1,81.1,91.1};
  int cou=0;
  while(cin >> a){
    cou=10;
    for(int i=0;i<10;i++){
      if(a<maxmin[i]){
	cou = i;
	break;
      }
    }
    cout << classes[cou] << endl;
  }  
}  