Tomaz Hocevar's submission of Digits Forest | CodeChef