Lost pencil#11667

Lost pencil

3 seconds
5 megabytes
Medium

Attention to memory restriction!

Uncle's collection has pencils, each of which is of a different color. The colors of these pencils are expressed by integers from to . Tired of playing with her toys, Mujgan decided to play with these pencils. After playing for a while, she lost one of the pencils, but to avoid her uncle noticing, she put one of her own pencils into the collection. The pencil she put in is either of the same color as the lost pencil or another pencil from this collection. If it's a pencil of the same color as the lost one, her uncle won't notice that the pencil is missing, otherwise, he won't fail to notice the loss. But can you find the lost pencil?

You are given the number of pencils in the uncle's collection and the state of the pencils after Mujgan added a pencil to replace the lost one, that is, the colors of the pencils in the collection. Find the color of the pencil that Mujgan lost. If it's impossible to find it precisely, output .

Input

The first line contains a single integer n~(2 \le n \le 2 \cdot 10^6). Each of the next lines contains an integer c_i~(1 \le c_i \le n) — the colors of the pencils.

Output

If it's possible to find the pencil that Mujgan lost, output the color of this pencil, otherwise output .

Examples

Test Case 1. The color of the lost pencil is and Mujgan replaced it with a pencil of color .

Test Case 2. Mujgan did a very good job replacing the lost pencil :).

Example 1

Loading
Loading

Example 2

Loading
Loading