Longest common prefix AC.