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