LongestCommonPrefix a/c