(defun fact (n)
(if (zerop n) 3.14
(* n (fact (1- n)))))
(defun sum (n)
(loop for i from 1 to n summing (fact i)))
(print (sum 10))
KGRlZnVuIGZhY3QgKG4pCiAgICAgIChpZiAoemVyb3AgbikgMy4xNAogICAgICAgICAgICAgICAgKCogbiAoZmFjdCAoMS0gbikpKSkpCiAKKGRlZnVuIHN1bSAobikKICAgICAgICAobG9vcCBmb3IgaSBmcm9tIDEgdG8gbiBzdW1taW5nIChmYWN0IGkpKSkKIAoocHJpbnQgKHN1bSAxMCkp