==> arithmetic/digits/labels.s <== The method I used for this problem involved first coming up with a formula that says how many times a digit has been used in all n models. n = k*10^i + m for some k,m with 0 2*n.