(defun main (&rest argv) (declare (ignorable argv)) (let* ((n (read)) (res 0)) (loop for i from 1 to n do (let ((c 0)) (loop for j from 1 to n when (zerop (mod i j)) do (incf c)) (when (= c 2) (incf res i)))) (format t "~d~%" res))) (main)