EasyRating 1000
The Lonely Number
Every number appears twice except one. Print it using XOR.
Input
n, then n integers.
Output
The single number.
Sample 1
Input
3 2 2 1
Output
1
Sample 2
Input
5 4 1 2 1 2
Output
4
Output appears heren, then n integers.
The single number.
3 2 2 1
1
5 4 1 2 1 2
4
Output appears here