You are given a set of strings s_1, s_2, \ldots, s_n.
Your task is to find a subset of these strings that satisfies the following conditions:
There exists a string such that every string in the subset is a suffix of .
The subset contains the maximum possible number of strings.
Your goal is to determine and output the number of strings in this subset.
The first line contains an integer (1 \le n \le 10^5), representing the number of strings in the set. Each of the next lines contains a non-empty string s_i. All strings consist solely of lowercase Latin letters. The total length of all strings combined does not exceed 10^5.
Output a single integer, which is the number of strings in the subset that meets the specified conditions.
Example 1