class X{static void Main(){string p,x;for(int i=0,c,k;++i<101;System.Console.WriteLine(p))for(p="1";p.IndexOf(""+i)!=0;p=c>4?1+x:x)for(x="",c=4,k=p.Length;--k>=0;c=p[k]/53+4)x=(p[k]*2+c)%10+x;}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).