# coding: utf-8

n=int(eval(input()))

A=list(map(int,input().split()))

B=[0]*n

l=n//2

if n%2==0:

    for i in range(n):

        if i%2==0:

            B[l+i]=str(A[i])

            l=l+i

        else:

            B[l-i]=str(A[i])

            l=l-i

else:

    for i in range(n):

        if i%2==0:

            B[l-i]=str(A[i])

            l=l-i

        else:

            B[l+i]=str(A[i])

            l=l+i

print((' '.join(B)))
# coding: utf-8

import math

from collections import deque

n = int(eval(input()))

#x, y = map(int,input().split())

A = list(map(int,input().split()))

ans = 0

B = deque()

if n%2==0:

    for i in range(n):

        a=str(A[i])

        if i%2==1:

            B.appendleft(a)

        else:

            B.append(a)

if n%2==1:

    for i in range(n):

        a=str(A[i])

        if i%2==0:

            B.appendleft(a)

        else:

            B.append(a)

print((' '.join(B)))
# coding: utf-8
n = int(eval(input()))
A = list(map(int, input().split()))
B = [0] * n
l = n // 2
if n % 2 == 0:
    for i in range(n):
        if i % 2 == 0:
            B[l + i] = str(A[i])
            l = l + i
        else:
            B[l - i] = str(A[i])
            l = l - i
else:
    for i in range(n):
        if i % 2 == 0:
            B[l - i] = str(A[i])
            l = l - i
        else:
            B[l + i] = str(A[i])
            l = l + i
print((" ".join(B)))

# coding: utf-8
import math
from collections import deque

n = int(eval(input()))
# x, y = map(int,input().split())
A = list(map(int, input().split()))
ans = 0
B = deque()
if n % 2 == 0:
    for i in range(n):
        a = str(A[i])
        if i % 2 == 1:
            B.appendleft(a)
        else:
            B.append(a)
if n % 2 == 1:
    for i in range(n):
        a = str(A[i])
        if i % 2 == 0:
            B.appendleft(a)
        else:
            B.append(a)
print((" ".join(B)))

+import math +from collections import deque + +# x, y = map(int,input().split()) -B = [0] * n -l = n // 2 +ans = 0 +B = deque() +        a = str(A[i]) +        if i % 2 == 1: +            B.appendleft(a) +        else: +            B.append(a) +if n % 2 == 1: +    for i in range(n): +        a = str(A[i]) -            B[l + i] = str(A[i]) -            l = l + i +            B.appendleft(a) -            B[l - i] = str(A[i]) -            l = l - i -else: -    for i in range(n): -        if i % 2 == 0: -            B[l - i] = str(A[i]) -            l = l - i -        else: -            B[l + i] = str(A[i]) -            l = l + i +            B.append(a)