How many different?

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

Input

Input contains different test data. Each test data starts with a natural number n1n\ge1 followed by a sequence with nn 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-02-18T13:43:45.045Z

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