#K68292. Unique Guest Counter
Unique Guest Counter
Unique Guest Counter
Given a guest list of names, your task is to determine the number of unique names. The uniqueness is determined in a case-sensitive manner; for instance, Alice
and alice
are considered as two distinct names.
The input format is as follows: the first line contains an integer \(n\), representing the total number of guests. This is followed by \(n\) lines, each containing a guest's name.
The output is a single integer that indicates the count of unique names present in the guest list.
Note: Use \(set\) operations (or their equivalent in your programming language) to determine the count of unique names efficiently.
inputFormat
The first line contains a single integer \(n\) (the number of guests). Each of the next \(n\) lines contains a string representing a guest's name.
outputFormat
Output a single integer which is the number of unique guest names.
## sample5
Alice
Bob
Charlie
David
Eve
5