N,X,Y=map(int,input().split()) R=list(map(int,input().split())) ln = 0 Rmax=max(R) Rmin=min(R) XY2=X**2+Y**2 if XY2>=Rmax**2: rs = sum(R)*2 - Rmin if XY2<=rs**2: print("Yes") else: print("No") else: rs = (sum(R)-Rmax)*2 if Rmax<=rs or XY2>=(Rmax-rs)**2: print("Yes") else: print("No")