13345: selfnumber

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:0

Description

一个整数n,如果存在另一个整数i,i加上它各个数位上的数字刚好等于n, 就说n是selfnumber  例如n=51 i=39 

 39+3+9=51

你要做的很简单,输出1-x所有不是selfnumber的数。

x<=1000000  注意时限

Input

每一行输入x

Output

对应每一个x,每行输出一个selfnumber

Sample Input Copy

1
10

Sample Output Copy

1
1
3
5
7
9