Google Code Jam answers