n,x,y = map(int,input().split()) a = list(map(int,input().split())) a.sort() if(n==1): if((x**2+y**2)!=a[0]**2): print("Yes") else: print("No") exit() if((x**2+y**2)<=(2*sum(a)-a[0])**2): print("Yes") else: print("No")