#include <bits/stdc++.h>

using namespace std;

main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    string a;
    getline(cin,a);
    stringstream t;
    t<<a;
    vector<int> x;
    int b;
    while(t>>b)x.push_back(b);
    if(x.size()==2)
        cout<<x[0]+x[1]<<endl;
    else
    {
        int n=x[0];
        cout<<(n>999?"legion":n>499?"zounds":n>249?"swarm":n>99?"throng":n>49?"horde":n>19?"lots":n>9?"pack":n>4?"several":"few")<<endl;
    }
}
