#P3413. Distinct Numbers

Distinct Numbers

当前没有测试数据。

Description

You are given a list of n integers, and your task is to calculate the number of distinct values in the list.

Input Format

The first input line has an integer n: the number of values.

The second line has n integers x1,x2,,xn.

Output Format

Print one integers: the number of distinct values.
5
2 3 2 2 3
2

Hint

<li> 1n2105 </li> <li> 1xi109 </li>

Source

CSES