(defun main (&rest argv) (declare (ignorable argv)) (let* ((n (read)) (a (make-array 11 :element-type 'integer :initial-element 0)) (s 0) (res 0)) (loop for i from 1 below n do (setf (aref a i) (read)) (incf s (aref a i))) (loop for i from 0 to 100 when (zerop (mod (+ s i) n)) do (incf res)) (format t "~d~%" res))) (main)