Statistics - Heavy Light Decomposition (CCO24_day2problem2)