It's difficult to imagine a situation where you might need the program we're going to ask you to write. However, small modifications can make it practical. You can also imagine it as part of something larger, such as a search engine. Let's create a dictionary, fill it with (last name, first name) entries, and then remove people with the same first name.
We don't need repeats