Niyaz Nigmatullin's submission of Digits Forest | CodeChef