Solve problem 76 using Ruby.
Solve problem 77 using Clojure.