Volodymyr Mykytsei's submission of Decompose the Tree | CodeChef