Haker
Charlie is a skilful Internet surfer and he can prove it by many e-mail addresses he uses regularly. Their use is password protected and he, not having good memory, had to think of a simple method of making and remembering them. A passwords Charlie use for his e-mail protection consist of two names of girls he secretly adores strung together. He secretly adores at least two and at most five girls, they all have different names, and their names consist of at least three and at most eight letters. Lucy knows how Charlie constructs his e-mail passwords, somehow found them all and is eager to find the names of girls Charlie secretly adores. Write a program that will help Lucy to find the minimal set of names Charlie used to make his e-mail passwords.
2
ivaana
anaivaOutput
2
ana
ivaSubmit solution
Coming laterThe grading service will be connected in a later migration step. You can inspect the task and your previous results now.