I-th (4)

Write a program that, given several test cases, each one composed by an
integer number i and a sequence of natural numbers x₁, x₂, …, x_(n),
prints each x_(i).

Input

Input has several cases. Each case begins with an integer number i,
followed by a sequence x₁, …, x_(n) ended with −1.

Output

For each case, if the position i is correct, print the content of i as
it is shown in the examples. Otherwise, print “Incorrect position.”.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T11:49:28.504Z

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