f=lambda n:n*`n`and f(n/b)+chr(n%b+(n%b>9)*39+48) n=2;exec"b=2;exec'print f(n),;b+=1;'*~-n;n+=1;print;"*62