//注意:行末没有最后的空格
#include <iostream>
#include <string>
using namespace std;
int main()
{
string str;
cin>>str;
int len=str.size()-1;//str.size()计算结果包含'\0'
for(int i=0;i<len;i++)
{
switch(str[i])
{
case '0':cout<<"ling ";break;
case '1':cout<<"yi ";break;
case '2':cout<<"er ";break;
case '3':cout<<"san ";break;
case '4':cout<<"si ";break;
case '5':cout<<"wu ";break;
case '6':cout<<"liu ";break;
case '7':cout<<"qi ";break;
case '8':cout<<"ba ";break;
case '9':cout<<"jiu ";break;
default:cout<<"fu ";
}
}
switch(str[len])
{
case '0':cout<<"ling";break;
case '1':cout<<"yi";break;
case '2':cout<<"er";break;
case '3':cout<<"san";break;
case '4':cout<<"si";break;
case '5':cout<<"wu";break;
case '6':cout<<"liu";break;
case '7':cout<<"qi";break;
case '8':cout<<"ba";break;
case '9':cout<<"jiu";break;
//default:cout<<"fu";
}
return 0;
}