N must be greater than equal to 2 * K and must be odd
if ( check > 0 and check % 2 == 1 ) : NEW_LINE INDENT for i in range ( 0 , K - 1 ) : NEW_LINE INDENT print ( "1" , end = " ▁ " ) NEW_LINE DEDENT print ( check , end = " ▁ " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " - 1" ) NEW_LINE DEDENT