(defun p(l r)(or(map'list(lambda(x)(p(remove x l)`(,@r,x)))l)(format t"~{~C~^ ~} "r)))(p"012345"())