035. Distinct Numbers
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

You have a list of numbers. You want to figure out how many distinct (different) numbers are in the list. For example, the list [1, 2, 3, 4, 4, 5, 5] has 5 distinct numbers.

Input

The first line of input contains a single positive integer $$$n$$$: the number of items in the list. The next line contains $$$n$$$ space-separated integers: the list.

Output

Output a single positive integer $$$d$$$: the number of distinct numbers in the list.

Examples
Input
5
2 2 3 5 6
Output
4
Input
4
1 2 3 4
Output
4