USACO 2013 March Contest, Gold - necklace