(defun main (&rest argv) (declare (ignorable argv)) (let* ((n (read)) (x (read)) (y (read)) (r (loop repeat n collect (read))) (m (reduce #'min r)) (s (reduce #'+ r)) (d (+ (* x x) (* y y))) (z (- (+ s s) m))) (format t "~a~%" (if (or (and (= 1 n) (/= d (* s s))) (< (* z z) d)) "No" "Yes")))) (main)