#include <iostream>
using namespace std;

int main(void)
{
  double kg;
  
  while(cin >> kg)
    {
      if(kg <= 48.00) cout << "light fly" << endl;
      else if(kg > 48.00 && kg <= 51.00) cout << "fly" << endl;
      else if(kg > 51.00 && kg <= 54.00) cout << "bantam" << endl;
      else if(kg > 54.00 && kg <= 57.00) cout << "feather" << endl;
      else if(kg > 57.00 && kg <= 60.00) cout << "light" << endl;
      else if(kg > 60.00 && kg <= 64.00) cout << "light welter" << endl;
      else if(kg > 64.00 && kg <= 69.00) cout << "welter" << endl;
      else if(kg > 69.00 && kg <= 75.00) cout << "light middle" << endl;
      else if(kg > 75.00 && kg <= 81.00) cout << "middle" << endl;     
      else if(kg > 81.00 && kg <= 91.00) cout << "light heavy" << endl;
      else if(kg > 91.00) cout << "heavy" << endl;
    }
  return 0;
}