Question
Count Distinct Values

You are given an array of N integers. Find the number of distinct values in the array.

Input

The first line contains KaTeX can only parse string typed expression. The second line contains KaTeX can only parse string typed expression integers.

Output

Print the number of distinct values.

Example
Example:
Input
7

4 2 4 3 2 1 3
Output
4

Online