I-th (4)

Write a program that, given several test cases, each one composed by an integer number ii and a sequence of natural numbers x1,x2,,xnx_1, x_2, \dots, x_n, prints each xix_i.

Input

Input has several cases. Each case begins with an integer number ii, followed by a sequence x1,,xnx_1, \dots, x_n ended with 1-1.

Output

For each case, if the position ii is correct, print the content of ii 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