Problem Description

Read n-1 numbers from 1..n (one is missing). Compute the missing number using XOR.

Input Format

First line n. Second line n-1 integers.

Output Format

One integer missing.

Sample Test Case

Input:
5 1 2 4 5
Output:
3

Constraints

2

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next