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 = x * x + y * y <= r * r end print(f and "Yes" or "No")