finish one and two digit numbers

finish two loops in script