eolymp
bolt
Try our new interface for solving problems
Problems

Even indexes

Even indexes

Time limit 1 second
Memory limit 128 MiB

Given array of n integers. Print all its elements with even indexes. The numbering starts from 0.

Input data

First line contains number n. Next line contains n integers. All numbers do not exceed 100 by absolute value.

Output data

Print all array elements with even indexes.

Examples

Input example #1
7
14 16 3 7 17 19 9
Output example #1
14 3 17 9
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"