My codejam solutions