Solve problems 17,45 using Clojure.