Andrii Maksai's submission of Digits Forest | CodeChef