Solve problem 57 using Clojure.