n=input() while n>=0:print n;s=str(n);n-=int('1'+s[2+s.find('1'):])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page