#CCBCHBAHAI0000004. In các phần tử ở chỉ số lẻ (Print Elements at Odd Indices)

In các phần tử ở chỉ số lẻ (Print Elements at Odd Indices)

Print Elements at Odd Indices

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

You are given an integer array aa of length nn, indexed from 00 to n−1n-1. Print the elements whose indices are odd, that is, all aia_i with i mod 2=1i \bmod 2 = 1, in increasing index order.

Input

  • The first line contains the integer nn, the number of array elements.
  • The second line contains exactly nn integers a0,a1,…,an−1a_0,a_1,\ldots,a_{n-1} in increasing index order.

Output

Print a1,a3,a5,…a_1,a_3,a_5,\ldots that exist in the array on one line, separated by spaces.

Subtasks

Subtask 1 (20 points): n=2n=2, −9≤ai≤9-9 \le a_i \le 9.

Subtask 2 (30 points): 3≤n≤203 \le n \le 20, 0≤ai≤1040 \le a_i \le 10^4 for every 0≤i<n0 \le i<n.

Subtask 3 (50 points): 2≤n≤10002 \le n \le 1000, −109≤ai≤109-10^9 \le a_i \le 10^9 for every 0≤i<n0 \le i<n.

Examples

Input

6
10 20 30 40 50 60

Output

20 40 60

Explanation

The odd indices from 00 through 55 are 1,3,51,3,5. Their values are 20,40,6020,40,60, so the output is 20 40 60.