#include <iostream>
#include <string>
#include <algorithm>
#include <functional>
#include <vector>
#include <utility>
#include <cstring>
#include <iomanip>
#include <numeric>
#include <cmath>
#include <cassert>
using namespace std;
using ll = long long;
const int INF = 1<<30;
const int MOD = 1e9 + 7;
signed main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    double x;
    while(cin >> x)
    {
        if(x > 91) cout << "heavy" << endl;
        else if(x > 81) cout << "light heavy" << endl;
        else if(x > 75) cout << "middle" << endl;
        else if(x > 69) cout << "light middle" << endl;
        else if(x > 64) cout << "welter" << endl;
        else if(x > 60) cout << "light welter" << endl;
        else if(x > 57) cout << "light" << endl;
        else if(x > 54) cout << "feather" << endl;
        else if(x > 51) cout << "bantam" << endl;
        else if(x > 48) cout << "fly" << endl;
        else cout << "light fly" << endl;
    }
    return 0;
}


