ll@n,@c[9];CombC;Mint x=10,m=sum[i,0,9](~i*c[i])*C.fac(n-1)*(1-x**n)/9;m/=C.fac(c[0..8]);wt(m);