Distinct#242

Distinct

3 seconds
256 megabytes
Very easy (≈850)

integers are given. Determine how many distinct numbers are in this list.

Input

The first line contains the number of integers n~(1 \le n \le 10^6). The second line contains integers, each with an absolute value not exceeding 2 \cdot 10^9.

Output

Output the count of distinct numbers among the integers.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading