import java.util.Scanner;
public class Main{
public static void main(String[] args){
Main main1 = new Main();
Scanner in=new Scanner(System.in);
String a=in.next();
int sum=0;
for(int i=0;i<a.length();i++){
int b=Integer.parseInt(String.valueOf(a.charAt(i)));
sum=sum+b;
}
String sumString=String.valueOf(sum);
for(int j=0;j<sumString.length();j++){
char c=sumString.charAt(j);
if(j==sumString.length()-1){
main1.speakNum(c,1);
}else{
main1.speakNum(c,0);
}
}
}
public void speakNum(char num,int type){
if(type==0){
switch(num){
case '0':
System.out.print("ling ");
break;
case '1':
System.out.print("yi ");
break;
case '2':
System.out.print("er ");
break;
case '3':
System.out.print("san ");
break;
case '4':
System.out.print("si ");
break;
case '5':
System.out.print("wu ");
break;
case '6':
System.out.print("liu ");
break;
case '7':
System.out.print("qi ");
break;
case '8':
System.out.print("ba ");
break;
case '9':
System.out.print("jiu ");
break;
}
}else{
switch(num){
case '0':
System.out.print("ling");
break;
case '1':
System.out.print("yi");
break;
case '2':
System.out.print("er");
break;
case '3':
System.out.print("san");
break;
case '4':
System.out.print("si");
break;
case '5':
System.out.print("wu");
break;
case '6':
System.out.print("liu");
break;
case '7':
System.out.print("qi");
break;
case '8':
System.out.print("ba");
break;
case '9':
System.out.print("jiu");
break;
}
}
}
}