#嘘解法 n,k=map(int,input().split()) a=list(map(int,input().split())) if k in a: print('Yes') exit() b=a[:(n//2)] c=a[(n//2):] nb=len(b) nc=len(c) s=set() t=set() import itertools all=itertools.product([-1,0,1], repeat=nb) for x in all: cnt=0 for i in range(nb): cnt+=b[i]*x[i] s.add(cnt) all=itertools.product([-1,0,1], repeat=nc) for x in all: cnt=0 for i in range(nc): cnt+=c[i]*x[i] t.add(cnt) for i in s: if i+k in t: print('Yes') exit() print('No')