Unique elements in a list

Python Easy sets

Task «Unique elements in a list»

Given a natural number N, followed by N integers. It is required to output the number of unique numbers in the entered list. Use a set to solve the problem.

Input Format

In the first line, an integer N (1 ≤ N ≤ 1000). In the second line, N integers separated by spaces.

Output Format

An integer — the number of unique numbers in the list.

Examples

Example 1

INPUT
5 1 2 3 4 5
OUTPUT
5

Example 2

INPUT
6 1 1 2 2 3 3
OUTPUT
3

Example 3

INPUT
1 42
OUTPUT
1

Example 4

INPUT
5 3 1 4 1 5
OUTPUT
4
main.py