import sys readline=sys.stdin.readline N,W=map(int,readline().split()) A=list(map(int,readline().split())) ans=0 for bit in range(1,1<>i&1] l=len(lst) for bit in range(1<>i&1: price.append(lst[i]//2) else: price.append(lst[i]) if sum(price)==W: ans+=1 break print(ans)