Driver Code
public static void Main ( string [ ] args ) { int N = 5 ; int [ ] A = { 1 , 0 , 2 , 1 , 1 } ; int [ ] B = { 1 , 1 , 1 , 0 , 2 } ; int K = 1 ; Console . WriteLine ( find ( A , B , N , K ) ) ; } }