I-th (1)

Write a program that, given an integer number i and a sequence of
natural numbers x₁, …, x_(n), prints x_(i).

Input

Input begins with a number i, followed by the sequence x₁, …, x_(n)
ended with −1. It is known that 1 ≤ i ≤ n.

Output

Print the content of the position i 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
