c8kbf and Tree CodeChef Solution