#C5915. Unique Email Addresses

    ID: 49617 Type: Default 1000ms 256MiB

Unique Email Addresses

Unique Email Addresses

You are given a list of email addresses. Your task is to output the list of unique email addresses, preserving the order of their first occurrence.

For example, if the input emails are "alice@example.com", "bob@example.net", "alice@example.com", "carol@example.org", then the output should be "alice@example.com", "bob@example.net", "carol@example.org" (in separate lines).

Note: Read input from standard input (stdin) and print your answer to standard output (stdout).

inputFormat

The first line of input contains a single integer n ( $1 \leq n \leq 10^5$ ), which is the number of email addresses. The following n lines each contain one email address.

outputFormat

Output the unique email addresses in the order they appear in the input. Each email address should be printed on a new line.

## sample
5
alice@example.com
bob@example.net
alice@example.com
carol@example.org
bob@example.net
alice@example.com

bob@example.net carol@example.org

</p>