inf=10**18 dxy=[(0,1), (1,0), (-1, 0), (0, -1)] mod=10**9+7 MOD=998244353 def main(): N, X, Y = map(int, input().split()) R = [int(i) for i in input().split()] dis = (X**2+Y**2)**(1/2) if N==1: print("Yes" if R[0]==dis else "No") return if sum(R)*2-min(R)>=dis: print("Yes") else: print("No") main()