How many different?

Write a program that prints how many different numbers there are in a
sequence with n integer numbers.

Input

Input contains different test data. Each test data starts with a natural
number n ≥ 1 followed by a sequence with n integer numbers.

Output

For each sequence of the input print, in a line, the number of different
elements that contains.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:25:33.030Z

© Jutge.org, 2006–2026.
https://jutge.org
