#include<iostream>
#include<string>
using namespace std;
 
int main(){
double a[10]={48,51,54,57,60,64,69,75,81,91};
string c[11]={"light　fly","fly","bantam","feather","light","light　welter","welter","light middle","middle","light　heavy","heavy"};
double b;
bool ans;
while(cin>>b){
ans=false;
for(int i=0;i<10;i++){
if(b<=a[i]){cout<<c[i]<<endl; ans=true; break;}}
if(!ans)cout<<c[10]<<endl;}}