Write a program that, given several test cases, each one composed by an integer number and a sequence of natural numbers , prints each .
Input has several cases. Each case begins with an integer number , followed by a sequence ended with .
For each case, if the position
is correct, print the content of
as it is shown in the examples. Otherwise, print
“Incorrect position.”.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T11:49:28.504Z
© Jutge.org, 2006–2026.
https://jutge.org