USACO 2012 December Contest, Gold - first