n, v = map(int, input().split()) A = list(map(int, input().split())) X = [0]*(1<>j)& 1: s += A[j] X[i] = v-s dp = [False]*(1<>j) & 1): ns = s | (1<