import java.io.*; import java.util.*; class Main { public static void main(String args[])throws Exception { BufferedReader bu=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); String s[]=bu.readLine().split(" "); int n=Integer.parseInt(s[0]),w=Integer.parseInt(s[1]); int i,j,k,ans=0,m=1<>k)&1,b2=(j>>k)&1; if(b1==0 && b2==1) {wt=-1; break;} if(b1==1) { if(b2==0) wt+=a[k]; else wt+=a[k]/2; } } if(wt==w) {ans++; break;} } System.out.println(ans); } }