Clojure solution to leap