Time Limit: 2 sec / Memory Limit: 1024 MB
Score : 200200 points
Problem Statement
In a sequence of NN positive integers a = (a_1, a_2, \dots, a_N)a=(a1,a2,…,aN), how many different integers are there?
Constraints
-
1 \leq N \leq 10001≤N≤1000
-
1 \leq a_i \leq 1000000000 \, (1 \leq i \leq N)1≤ai≤1000000000(1≤i≤N)
-
All values in input are integers.
Input
Input is given from Standard Input in the following format:
NNa_1a1\ldots…a_NaN
Output
Print the answer.