TAG: Tree Solution.