s=() i=0 exec"i+=1;s+=i+sum(map(int,`i`)),\nif(i in s)-1:print i\n"*3000