N,X,Y = map(int, input().split()) R = list(map(int, input().split())) if not(1<=N<=2*10**5 and -10**9<=X<=10**9 and -10**9<=Y<=10**9) and 1<=min(R) and max(R)<=10**5: exit() if N==1: if (X**2+Y**2)**0.5==R[0]: print('Yes') else: print('No') else: if (X**2+Y**2)**0.5<=sum(R)*2-min(R): print('Yes') else: print('No')