Function to find out frequency of numbers from 1 to N having their sum of digits from 1 to 162 and store them in array
def formArray ( N ) : NEW_LINE INDENT dp = [ [ [ - 1 for x in range ( 166 ) ] for y in range ( 2 ) ] for z in range ( 20 ) ] NEW_LINE DEDENT