Solve the balanced number problem in 4clojure.com.