Solve problem 46 using Clojure.