Fill rest of the elements with 1
for i in range ( P + 1 , N + 1 ) : NEW_LINE INDENT arr [ i ] = 1 ; NEW_LINE DEDENT print ( " The ▁ Minimum ▁ Possible ▁ Sum ▁ is : ▁ " , ans ) ; NEW_LINE print ( " The ▁ Array ▁ Elements ▁ are : ▁ " ) ; NEW_LINE for i in range ( 1 , N + 1 ) : NEW_LINE INDENT print ( arr [ i ] , end = " ▁ " ) ; NEW_LINE DEDENT