Solve problem 25 using Clojure.