Given a list of
Input Specification
The first line will contain the integer
Output Specification
One integer: the number of distinct elements in the given list.
Sample Input 1
Copy
2
1
2
Sample Output 1
Copy
2
Sample Input 2
Copy
4
1
2
2
5
Sample Output 2
Copy
3
Comments
this is so sad
You one-liners make me feel bad...
Hint: sets have very fast

in
checks, whereas lists have very slowin
checks. Your solution will probably pass if you use a set, but you may have to combine your two for loops into one.