xyz111's submission of Collecting Magical Berries | CodeChef