Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT A , B , N = 3 , 3 , 3 NEW_LINE K , M = 4 , 2 NEW_LINE if ( isPossible ( A , B , N , K , M ) ) : NEW_LINE INDENT print ( ' YES ' ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( ' NO ' ) NEW_LINE DEDENT DEDENT