Solve problem 44 using Clojure.