Driver Code
public static void main ( String [ ] args ) { int N = 3 ; int arr [ ] = { 1 , 3 , 4 } ; if ( canPossibleReplacement ( N , arr ) == 1 ) System . out . print ( " Yes " ) ; else System . out . print ( " No " ) ; } }