Driver program
public static void main ( String [ ] args ) { int gcd [ ] = { 2 , 3 } ; int arr [ ] = { 9 , 6 , 2 } ; int n = arr . length ; int m = gcd . length ; ccountSubsets ( arr , n , gcd , m ) ; } }