Contacts
Very easy
Execution time limit is 0.2 seconds
Runtime memory usage limit is 64 megabytes
My mobile phone automatically saves each phone number to the contact book after any call, as long as the number isn't already saved. Determine how many unique entries are in the contact book, given a list of phone numbers from all N mobile connections.
Input
The first line contains the integer N ( 1 ≤ N ≤ ), representing the number of mobile connections. The second line contains N phone numbers, each a nine-digit natural number.
Output
Output the total number of unique entries in the contact book.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 46%