JRuby-powered helper for Google Code Jam