Odd Number of Times#8374

Odd Number of Times

1 सेकंड
128 मेगाबाइट
बहुत आसान

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

इनपुट

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

आउटपुट

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 .

उदाहरण

उदाहरण 1

Loading
Loading

उदाहरण 2

Loading
Loading