#include<stdio.h>
char* w(int n){
char* t="";
switch(n){
case 0:t="ling";break;
case 1:t="yi";break;
case 2:t="er";break;
case 3:t="san";break;
case 4:t="si";break;
case 5:t="wu";break;
case 6:t="liu";break;
case 7:t="qi";break;
case 8:t="ba";break;
default:t="jiu";
}
return t;
}
int main(){
int n;
scanf("%d",&n);
if(n<=10){
printf("%s",w(n));
}else if(n<=19){
printf("%s %s","shi",w(n%10));
}else{
printf("%s %s %s",w(n/10),"shi",w(n%10));
}
return 0;
}
/**************************************************************
Problem: 1240
User: admin
Language: C
Result: Accepted
Time:10 ms
Memory:1144 kb
****************************************************************/