Driver code
a = [ 15 , 1 , 2 , 17 , 6 ] NEW_LINE b = [ 1 , 1 , 0 , 1 , 1 ] NEW_LINE n = len ( a ) NEW_LINE res = sorting_possible ( a , b , n ) NEW_LINE if ( res != False ) : NEW_LINE INDENT print ( " Yes " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " No " ) NEW_LINE DEDENT