Decompose the Tree | CodeChef