# include & ltbits/stdc++。 h & gt
Use namespace std
int main()
{
int n;
CIN & gt; & gtn;
for(int I = 0; I < = n; I++)// Enumerate the year when Xiao Ming was born.
{
int j = I;
int sum = 0;
And (j! =0)
sum+=j% 10,j/= 10; //The sum of all the figures of Xiaoming's birth year.
If(sum==(n-i))// Xiaoming's age
{
Cout & lt& lt me;
Returns 0;
}
}
Cout & lt& lt "no"; //Otherwise, output No.
Returns 0;
}