# ABC066C - pushpush (ARC077)

from collections import deque





def main():

    N, *A = list(map(int, open(0).read().split()))

    B, x = deque(), int(N) & 1

    for i, a in enumerate(A, start=x):

        if i & 1:

            B.appendleft(a)

        else:

            B.append(a)

    print((*B))





if __name__ == "__main__":

    main()
# ABC066C - pushpush (ARC077)

def main():

    N, *A = list(map(int, open(0).read().split()))

    if int(N) & 1:

        B = A[::2][::-1] + A[1::2]

    else:

        B = A[1::2][::-1] + A[::2]

    print((*B))





if __name__ == "__main__":

    main()
# ABC066C - pushpush (ARC077)
from collections import deque


def main():
    N, *A = list(map(int, open(0).read().split()))
    B, x = deque(), int(N) & 1
    for i, a in enumerate(A, start=x):
        if i & 1:
            B.appendleft(a)
        else:
            B.append(a)
    print((*B))


if __name__ == "__main__":
    main()

# ABC066C - pushpush (ARC077)
def main():
    N, *A = list(map(int, open(0).read().split()))
    if int(N) & 1:
        B = A[::2][::-1] + A[1::2]
    else:
        B = A[1::2][::-1] + A[::2]
    print((*B))


if __name__ == "__main__":
    main()

-from collections import deque - - -    B, x = deque(), int(N) & 1 -    for i, a in enumerate(A, start=x): -        if i & 1: -            B.appendleft(a) -        else: -            B.append(a) +    if int(N) & 1: +        B = A[::2][::-1] + A[1::2] +    else: +        B = A[1::2][::-1] + A[::2]