#include <bits/stdc++.h>
main(){char* s[]={"light fly","fly","bantam","feather","light","light welter","welter","light middle","middle","light heavy","heavy"};float f[]={48.0,51.0,54.0,57.0,60.0,64.0,69.0,75.0,81.0,91.0,1e9};float a;while(std::cin>>a)for(int i=0;;i++)if(a<=f[i]){printf("%s\n",s[i]);break;}}