solved listToNUmber