Tony Wang's submission of Trees and Subtrees | CodeChef