Solve problems 34,39 using Clojure.