#include <iostream>
#include <string>
using namespace std;
string InStr = "";
string OutStr = "";
string Array[10]{"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
int JudgeWithZero(char);
void OutRes(string, int);
int main()
{
cin >> InStr;
OutRes(InStr,JudgeWithZero(InStr[0]));
return 0;
}
int JudgeWithZero(char ch)
{
if('-' == ch)
{
return 1;
}
return 0;
}
void OutRes(string InStr, int Flag)
{
if(1 == Flag)
{
cout << "fu ";
}
for(size_t i = Flag; i < InStr.length(); ++i)
{
cout << Array[InStr[i] - '0'];
if(InStr.length() - 1 != i)
{
cout << " ";
}
}
cout << endl;
}
03-18
1168
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-02
228
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-26
507
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-30