import sys input = sys.stdin.readline N,X,Y=map(int,input().split()) R=list(map(int,input().split())) if N==1: if X*X+Y*Y==R[0]*R[0]: print("Yes") else: print("No") R.sort() MAX=R[0] for r in R[1:]: MAX+=r*2 if MAX*MAX>=X*X+Y*Y: print("Yes") else: print("No")