call dfs with current residue as 0 and current steps as 0
if ( dfs ( 0 , 0 , wt , arr , N , steps ) ) : NEW_LINE INDENT for i in range ( steps ) : NEW_LINE INDENT print ( wt [ i ] , end = " ▁ " ) NEW_LINE DEDENT DEDENT else : NEW_LINE INDENT print ( " Not ▁ possible " ) NEW_LINE DEDENT