Function to check if sum of given array can be made equal to X or not
static void Check ( int arr [ ] , int X ) { if ( makeSumX ( arr , X , 0 , 0 ) ) { System . out . println ( " Yes " ) ; } else { System . out . println ( " No " ) ; } }