Evgeniy Sluzhaev's submission of Collecting Magical Berries | CodeChef