Dump for code used to practice for codejam 2014