N=0 exec"N+=1;n=N;r=0\nwhile n-r:n+=r;r=int(str(n)[::-1])\nprint n;"*195