#include <iostream>
#include <string>
using namespace std;
int main(){
  string class_name[11]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};
  double class_weight[11]={48,51,54,57,60,64,69,75,81,91,1000};
  double weight;
  while(cin>>weight){
    int i=0;
    while(weight>class_weight[i])i++;
    cout<<class_name[i]<<endl;
  }
}