It's so common to hear people start sentences with "I am" (as opposed to René Descartes, who is famous for ending a sentence like that). The Department of Sociology might be interested in a study of the qualities that people believe they possess. With the careful use of hidden microphones and IBM's Watson Speech to Text software, it has been possible to obtain transcripts of several conversations. Let's see what people think of themselves ...

Write a program that:

Here's what a sample run should look like (with the keyboard input shown in italics) ...
Please enter sentences, . to end.
Hello everyone
I am very clever
Most people are not
I am good looking too
I am really good looking
You are ugly
I am confident
.
The qualities are very clever, good looking too, really good looking, confident.

Confirming the saved qualities ...
    very clever
    good looking too
    really good looking
    confident

You must ...

Answer