#include <stdio.h>
int main()
{
char ch;
int sum=0;
ch = getchar();
while (ch != '\n')
{
sum+=ch-'0';
ch = getchar();
}
int i,s[9];
for(i=0;sum;)
{
s[i++]=sum%10;
sum=sum/10;
}
i--;
while(i>=0)
{
switch(s[i--])
{
case 0:printf("ling");break;
case 1:printf("yi");break;
case 2:printf("er");break;
case 3:printf("san");break;
case 4:printf("si");break;
case 5:printf("wu");break;
case 6:printf("liu");break;
case 7:printf("qi");break;
case 8:printf("ba");break;
case 9:printf("jiu");
}
if(i>=0)
printf(" ");
}
return 0;
}