Collecting Magical Berries | CodeChef