find the composition of the numbers | ScratchStats