#K53502. Unique Numbers Check

    ID: 29545 Type: Default 1000ms 256MiB

Unique Numbers Check

Unique Numbers Check

You are given a list of integers. Your task is to determine whether all numbers in the list are unique. In other words, check if the number of unique elements is equal to the total number of elements.

Formally, let \( A \) be the list provided. You need to verify if $$|A| = |\{x : x \in A\}|.$$

If true, output True; otherwise, output False.

inputFormat

Input is read from standard input (stdin). The first line contains an integer ( n ) representing the number of elements in the list. The second line contains ( n ) space-separated integers.

outputFormat

Output to standard output (stdout) a single line containing either True if all numbers are unique or False otherwise.## sample

0

True

</p>