Solve SRM 148, Div 2, Problem DivisorDigits