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 abs(d-s(r[0])) <= s(k): print('Yes') else: print('No')