Solve problem 56 using Clojure.