USACO 2013 February Contest, Gold - partition