(defun main (&rest argv) (declare (ignorable argv)) (let* ((n (read)) (x (make-array n :element-type 'integer)) (y (make-array n :element-type 'integer)) (res 0)) (dotimes (i n) (setf (aref x i) (read) (aref y i) (read))) (dotimes (i n) (dotimes (j i) (let ((a 0)) (dotimes (k n) (incf a (if (zerop (- (* (- (aref x k) (aref x j)) (- (aref y i) (aref y j))) (* (- (aref x i) (aref x j)) (- (aref y k) (aref y j))))) 1 0))) (setq res (max res a))))) (format t "~d~%" res))) (main)