n, x, y = io.read("*n", "*n", "*n") a = {} for i = 1, n do a[i] = io.read("*n") end table.sort(a) f = nil if n == 1 then f = a[1] * a[1] == x * x + y * y else r = -a[1] for i = 1, n do r = r + 2 * a[i] end f = 1LL * x * x + 1LL * y * y <= 1LL * r * r if 2000 * 1000 * 1000 < r then f = true end end print(f and "Yes" or "No")