# -*- coding: utf-8 -*-



N = int(eval(input()))

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



bN = [0] * N

if N % 2 == 0:

    for i in range(N):

        if i % 2 == 0:

            bN[(N//2) + i//2] = str(aN[i])

        else:

            bN[(N//2) - (i+1)//2] = str(aN[i])

else:

    for i in range(N):

        if i % 2 == 0:

            bN[(N//2) - i//2] = str(aN[i])

        else:

            bN[(N//2) + (i+1)//2] = str(aN[i])



print((" ".join(bN)))
# -*- coding: utf-8 -*-



# 普通のリストじゃなくてこれ使えば、左への挿入も速いとのこと

from collections import deque



N = int(eval(input()))

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



bN = deque()

if N % 2 == 0:

    for i in range(N):

        if i % 2 == 0:

            bN.append(str(aN[i]))

        else:

            bN.appendleft(str(aN[i]))

else:

    for i in range(N):

        if i % 2 == 1:

            bN.append(str(aN[i]))

        else:

            bN.appendleft(str(aN[i]))



print((" ".join(bN)))
# -*- coding: utf-8 -*-
N = int(eval(input()))
aN = list(map(int, input().split()))
bN = [0] * N
if N % 2 == 0:
    for i in range(N):
        if i % 2 == 0:
            bN[(N // 2) + i // 2] = str(aN[i])
        else:
            bN[(N // 2) - (i + 1) // 2] = str(aN[i])
else:
    for i in range(N):
        if i % 2 == 0:
            bN[(N // 2) - i // 2] = str(aN[i])
        else:
            bN[(N // 2) + (i + 1) // 2] = str(aN[i])
print((" ".join(bN)))

# -*- coding: utf-8 -*-
# 普通のリストじゃなくてこれ使えば、左への挿入も速いとのこと
from collections import deque

N = int(eval(input()))
aN = list(map(int, input().split()))
bN = deque()
if N % 2 == 0:
    for i in range(N):
        if i % 2 == 0:
            bN.append(str(aN[i]))
        else:
            bN.appendleft(str(aN[i]))
else:
    for i in range(N):
        if i % 2 == 1:
            bN.append(str(aN[i]))
        else:
            bN.appendleft(str(aN[i]))
print((" ".join(bN)))

+# 普通のリストじゃなくてこれ使えば、左への挿入も速いとのこと +from collections import deque + -bN = [0] * N +bN = deque() -            bN[(N // 2) + i // 2] = str(aN[i]) +            bN.append(str(aN[i])) -            bN[(N // 2) - (i + 1) // 2] = str(aN[i]) +            bN.appendleft(str(aN[i])) -        if i % 2 == 0: -            bN[(N // 2) - i // 2] = str(aN[i]) +        if i % 2 == 1: +            bN.append(str(aN[i])) -            bN[(N // 2) + (i + 1) // 2] = str(aN[i]) +            bN.appendleft(str(aN[i]))