Lisp in JavaScript ++

Based on Joe Ganley

INPUT

OUTPUT