#2. Input test

Input test

Problem Description

You are given n+1n+1 integers. Please output the (n+1)(n+1)-th integer.

Input Format

The first line contains an integer nn.
The second line contains n+1n+1 integers, as described above.

Output Format

Output a single integer: the last integer in the input.

Example

Input

3
1 2 3 4

Output

4

Constraints

For 100%100\% of the test data, n107n \leq 10^7, and each of the n+1n+1 integers has up to nine digits.

There are 88 test cases. For the ii-th test case, n=10i1n = 10^{i-1}.