SA
с учетом что это скорее всего было учебное задание было)
Size: a a a
SA
SA
SA
a
SA
SA
SA
(defun remove-from-list-of-lists (items list-of-lists)
(mapcar (lambda (list) (set-difference list items)) list-of-lists))
(remove-from-list-of-lists '(b e f g) '((a b c) (d e f) (g) (h)))
;; => ((C A) (D) NIL (H))
SA
SA
SA
SA
SA
SA
a
SA
SA
a
n
'((1) (1 2) ())
'(1 2)
AE