#-swank (unless (member :child-sbcl *features*) (quit :recklessly-p t :unix-status (process-exit-code (run-program *runtime-pathname* `("--control-stack-size" "1024MB" "--noinform" "--disable-ldb" "--lose-on-corruption" "--end-runtime-options" "--eval" "(push :child-sbcl *features*)" "--script" ,(namestring *load-pathname*)) :output t :error t :input t)))) (defun solve-game () (let* ((n (read)) (a (sort (loop for i from 1 to n collect (read)) #'>))) ;; aの最小値が0または1ならが0または1ならYes,そうでなければNoを出力 (if (or (zerop (first a)) (zerop (first (rest a)))) "Yes" "No"))) (solve-game)