Words are separated by non-letters. Capitalization should be ignored
For each test case, output the words which occur n times in the input text, one word per line, lower case, in alphabetical order.
Your code does not handle this, for the input :
- 2
AA AA
EndOftext
The output should be:
- aa

