Driver code
public static void Main ( ) { int [ ] A = { 1 , 2 , 3 } ; int [ ] B = { 1 , 3 , 2 } ; int n = A . Length ; if ( canMadeEqual ( A , B , n ) ) Console . Write ( " Yes " ) ; else Console . Write ( " No " ) ; } }