You are given an integer sequence a_1, \ldots, a_n of length . You perform the following operations on an initially empty sequence :
For each from to :
Append a_i to the end of .
Reverse the order of the elements in .
Find the sequence after all operations.
The first line contains an integer (1 \le n \le 2 \times 10^5).
The second line contains integers a_1, \ldots, a_n (0 \le a_i \le 10^9).
Print integers in one line, where the -th integer is b_i.
Example 1
Example 2