Driver Code
public static void main ( String [ ] args ) { int N = 64 ; int [ ] arr = { 1 , 2 , 4 , 8 , 16 , 32 } ; int M = arr . length ; System . out . println ( maximizeSubset ( N , arr , M , 0 ) ) ; } }