def s(x): return x*x n, x, y = map(int, input().split()) r = list(map(int, input().split())) d = s(x)+s(y) if n == 1: if s(r[0]) == d: print('Yes') else: print('No') else: k = 2*sum(r[1:]) if s(r[0]+k) >= d or s(max(0, r[0]-k)) >= d: print('Yes') else: print('No')