import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Pat1002 {
public static int StringToInt(String num) {//将数字字符串分开并相加,得到int型的结果
int sum=0;
String[] str=num.split("");
for(String s:str) {
sum+=Integer.valueOf(s);
}
return sum;
}
public static String Chinese(String num) {//用数字匹配拼音
Map<String,String> chinese=new HashMap<String,String>();
chinese.put("0","ling ");chinese.put("1","yi ");chinese.put("2","er ");
chinese.put("3","san ");chinese.put("4","si ");chinese.put("5","wu ");
chinese.put("6","liu ");chinese.put("7","qi ");chinese.put("8","ba ");
chinese.put("9","jiu ");
return chinese.get(num);
}
public static String IntToChinese(int num) {//将int型的数字,拆分并用拼音挨个表示
String number=String.valueOf(num);
String[] numbers=number.split("");
String result="";
for(String s:numbers) {
result+=Chinese(s);
}
return result.substring(0, result.length()-1);
}
public static void main(String[] args) {
Scanner s=new Scanner(System.in);
String str=s.nextLine();
s.close();
System.out.println(IntToChinese(StringToInt(str)));
}
}