Solved SumOfDigits.