Run Common Lisp online — SBCL, the workhorse CL implementation.
Common Lisp is the industrial-strength Lisp: CLOS multi-methods, first-class macros, a condition system that makes exceptions look primitive. Still shipping in production at Grammarly, ITA, Franz.
ls-judge runs SBCL (Steel Bank Common Lisp) inside a Firecracker microVM.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
(let ((n (parse-integer (read-line))))
(write-line (write-to-string (* n 2))))
21
42