rearrange a bit.
codejam 2010.qual.a parsed.