n,m,l=map(int,input().split()) q=[0]*1001 q[l]=1 for c in list(map(int,input().split())): nq=[0]*1001 for i in range(1001): nq[i]|=q[i] nq[(i+c)//2]|=q[i] q=nq print(["No","Yes"][q[m]])