The Necklace Expenditure | CodeChef