Print the solution
for i in range ( len ( sol ) ) : NEW_LINE INDENT if ( sol [ i ] == - 1 ) : NEW_LINE INDENT print ( ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( sol [ i ] , end = " ▁ " ) NEW_LINE DEDENT DEDENT