Driver Code
public static void Main ( ) { int A = 5643 , B = 81 ; int [ ] D = { 3 , 8 , 1 } ; int N = D . Length ; if ( reduceNtoX ( A , B , D , N ) ) Console . Write ( " Yes " ) ; else Console . Write ( " No " ) ; } }