Anmol Khurana's submission of Treeversion | CodeChef