Problem Description

Given n integers, print XOR of all values.

Input Format

First n. Next line n ints.

Output Format

One integer.

Sample Test Case

Input:
5 1 2 3 2 1
Output:
3

Constraints

n

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next