Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT A = [ 3 , 5 , 8 ] NEW_LINE B = [ 2 , 4 , 6 ] NEW_LINE N = len ( A ) NEW_LINE if ( checkIfPossibleMerge ( A , B , N ) ) : NEW_LINE INDENT print ( " Yes " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " No " ) NEW_LINE DEDENT DEDENT