from itertools import product n,k=map(int,input().split()) a=list(map(int,input().split())) ans=set() for bit in product(range(2),repeat=n): if sum(bit)