give array num numsi find number array small that numsi count number valid js j numsj numsiReturn answer array Example 1input num 81223output 40113explanation for nums08 exist small number 1 2 2 3 for nums11 exist small number itFor nums22 exist small number 1 for nums32 exist small number 1 for nums43 exist small number 1 2 2example 2input num 6548output 2103example 3input num 7777output 0000 constraints2 numslength 5000 numsi 100