Odd Number of Times#8374

Odd Number of Times

1 segundo
128 megabytes
Muy fácil

Find the number that occurs an odd number of times in the sequence.

Entrada

The first line contains a natural number (1 \leq n \leq 500\,000). Then follow natural numbers, each less than 10^6.

Salida

In the input sequence, there is only one number that appears an odd number of times. All other numbers appear an even number of times. Output .

Ejemplos

Ejemplo 1

Loading
Loading

Ejemplo 2

Loading
Loading