#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;
}
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKbWFpbigpCnsKICAgIGlvczo6c3luY193aXRoX3N0ZGlvKDApOwogICAgY2luLnRpZSgwKTsKICAgIHN0cmluZyBhOwogICAgZ2V0bGluZShjaW4sYSk7CiAgICBzdHJpbmdzdHJlYW0gdDsKICAgIHQ8PGE7CiAgICB2ZWN0b3I8aW50PiB4OwogICAgaW50IGI7CiAgICB3aGlsZSh0Pj5iKXgucHVzaF9iYWNrKGIpOwogICAgaWYoeC5zaXplKCk9PTIpCiAgICAgICAgY291dDw8eFswXSt4WzFdPDxlbmRsOwogICAgZWxzZQogICAgewogICAgICAgIGludCBuPXhbMF07CiAgICAgICAgY291dDw8KG4+OTk5PyJsZWdpb24iOm4+NDk5PyJ6b3VuZHMiOm4+MjQ5PyJzd2FybSI6bj45OT8idGhyb25nIjpuPjQ5PyJob3JkZSI6bj4xOT8ibG90cyI6bj45PyJwYWNrIjpuPjQ/InNldmVyYWwiOiJmZXciKTw8ZW5kbDsKICAgIH0KfQo=