#include
#include
char str[20];
const char *num[] = {"ling", "yi", "er", "san", "si", "wu","liu", "qi", "ba","jiu"};
int main()
{
int i, k;
scanf("%s", str);
k = strlen(str);
if(str[0]=='-')printf("fu");
else
printf("%s",num[str[0]-'0']);
for(i=1;i<k;i++)
{
printf("%s",num[str[i]-'0']);
}
printf("\n");