I-th (1)

Write a program that, given an integer number ii and a sequence of natural numbers x1,,xnx_1, \dots, x_n, prints xix_i.

Input

Input begins with a number ii, followed by the sequence x1,,xnx_1, \dots, x_n ended with 1-1. It is known that 1in1 \le i \le n.

Output

Print the content of the position ii as it is shown in the examples.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:39:59.092Z

© Jutge.org, 2006–2026.
https://jutge.org