Araf Rahman's submission of Weighted Necklace | CodeChef