Longest Common Prefix accepted