#include<iostream>
using namespace std;
int main(){
  double h;
  while(cin>>h){
    if(h<=48.000) cout << "light fly" << endl;
    else if(h<=51.000) cout << "fly" << endl;
    else if(h<=54.000) cout << "bantam" << endl;
    else if(h<=57.000) cout << "feather" << endl;
    else if(h<=60.000) cout << "light" << endl;
    else if(h<=64.000) cout << "light welter" << endl;
    else if(h<=69.000) cout << "welter" << endl;
    else if(h<=75.000) cout << "light middle" << endl;
    else if(h<=81.000) cout << "middle" << endl;
    else if(h<=91.000) cout << "light haeny" << endl;
    else if(h>91.000) cout << "haeny" << endl;
  }
  return 0;
}