xrisk's submission of Perfect Necklace | CodeChef