(setq thelist '(1 2 3 4 5))

(let ((s 0) (p 1))
    (mapcar
        #'(lambda (x) (setq s (+ s x)) (setq p (* p x)))
        thelist
    )
    (cons s p)
)
