import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int number = 0;// 一个整数
int numberAbs = 0;// 绝对值
int wei = 0;// 位数
int mi; 10的位数-1次幂
Scanner in = new Scanner(System.in);
number = in.nextInt();
numberAbs = Math.abs(number);// 绝对值
wei = getWei(numberAbs);// 位数
mi = (int) Math.pow(10, (wei - 1));// 10的位数-1次幂
if (number < 0) {
System.out.print("fu ");// 当遇到负数时,在输出的开头加上“fu”
numberAbs = -number;
} else {
numberAbs = number;
}
do {
switch (numberAbs / mi) {
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;
}
if (mi > 9) {
System.out.print(" ");// 注意,每个字的拼音之间有一个空格,但是最后的字后面没有空格。
}
numberAbs = numberAbs % mi;
mi = mi / 10;
} while (mi > 0);
}
public static int getWei(int number) {// 位数
int count = 0;
do {
number = number / 10;
count++;
} while (number > 0);// 位数
return count;
}
}