Олимпиадный тренинг

Задача 38695. Even indices


Given an array of integers. Element numbering starts from 0. Write a program that prints array elements with even indices (0, 2, 4...).


Input
First given number N — the number of elements in the array (1<=N<=100). The   numbers — array elements. The array consists of integers.

Imprint
It is necessary to display all elements of the array with even indices.
 
Examples
# Input Output
1 6
4 5 3 4 2 3
4 3 2