Even indexes
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given array of n integers. Print all its elements with even indexes. The numbering starts from 0.
Input
First line contains number n. Next line contains n integers. All numbers do not exceed 100 by absolute value.
Output
Print all array elements with even indexes.
Examples
Input #1
Answer #1
Submissions 14K
Acceptance rate 58%