#include<iostream>
using namespace std;
int main(){
  double d;
  while(cin >>d){
    if(d<=48) cout <<"light fly"<<endl;
    else if(d<=51) cout <<"fly"<<endl;
    else if(d<=54) cout <<"bantam"<<endl;
    else if(d<=57) cout <<"feather"<<endl;
    else if(d<=60) cout <<"light"<<endl;
    else if(d<=64) cout <<"light welter"<<endl;
    else if(d<=69) cout <<"welter"<<endl;
    else if(d<=75) cout <<"light middle"<<endl;
    else if(d<=81) cout <<"middle"<<endl;
    else if(d<=91) cout <<"light heavy"<<endl;
    else cout <<"heavy"<<endl;
  }
  return 0;
}