int main()
{
int x=0,n=1,t,y=0;
scanf ("%d",x);
if(x<0){
printf("-");
}
t=x;
while(x>9){
x/=10;n*=10;
}
while(n>0){
y=t/n;n/=10;
switch (y){
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");
break;
case 0:printf("ling");
break;
}
if (n>9){
printf (" ");
}
}
return 0;
}