Solve problem 76 using Clojure/Python.