Kevin Sun's submission of A Special Tree 2 | CodeChef