Special word is a word which starts with a '#' . You are given a list of N statements and your task is to find the top 5 most occuring 'special words' in the given list. Each statement , let's call it S, will contain at least one special word. There will be maximum of three special words in any statement. All special words in a single statement will be unique.
Input:
First line of the input will contain N denoting the number of statements.
Next N lines, each will contain a string S.
Output:
Print the top five most occuring special words. In case of tie between any two special words, print them in lexicographical order in a new line.
Constraints:
Note:
10 Donald Trump becomes the 45th #US President Potentially habitable exoplanet #ProximaB discovered #RogerFederer wins #US Open for 5th time #GravitationalWaves detection successful Traces of liquid water discovered on #Mars Life Could Survive on Exoplanet #ProximaB Go go #RogerFederer Ten ways #ProximaB is different from Earth ISRO becomes 4th space agency to reach #Mars #RogerFederer beats #Nadal