codejam2014-1a one-small