Mohammad Solaiman's submission of Treeversion | CodeChef