Even indexes#7842

Even indexes

1 segundo
128 megabytes
Muy fácil

An array of integers is given. Print all elements located at even positions. The indexing of elements starts from .

Entrada

The first line contains the integer . The second line contains integers. Each integer does not exceed in absolute value.

Salida

Print the elements of the array with even indices.

Ejemplos

Ejemplo 1

Loading
Loading