two LCA problem