N,M,L=map(int,input().split()) A=[*map(int,input().split())] S=set([L]) for a in A: new=set() for s in S: new.add((a+s)//2) S|=new if M in S: print("Yes") exit() print("No")