from collections import deque





def main():

    n, *a = list(map(int, open(0).read().split()))

    dq = deque()

    n -= 1

    for i, ai in enumerate(a):

        if i % 2 == n % 2:

            dq.appendleft(ai)

        else:

            dq.append(ai)

    print((" ".join(map(str, dq))))

    return





main()

from collections import deque





def main():

    n, *a = open(0).read().split()

    dq = deque()

    n = int(n) - 1

    for i, ai in enumerate(a):

        if i % 2 == n % 2:

            dq.appendleft(ai)

        else:

            dq.append(ai)

    print((" ".join(dq)))

    return





main()

from collections import deque


def main():
    n, *a = list(map(int, open(0).read().split()))
    dq = deque()
    n -= 1
    for i, ai in enumerate(a):
        if i % 2 == n % 2:
            dq.appendleft(ai)
        else:
            dq.append(ai)
    print((" ".join(map(str, dq))))
    return


main()

from collections import deque


def main():
    n, *a = open(0).read().split()
    dq = deque()
    n = int(n) - 1
    for i, ai in enumerate(a):
        if i % 2 == n % 2:
            dq.appendleft(ai)
        else:
            dq.append(ai)
    print((" ".join(dq)))
    return


main()

-    n, *a = list(map(int, open(0).read().split())) +    n, *a = open(0).read().split() -    n -= 1 +    n = int(n) - 1 -    print((" ".join(map(str, dq)))) +    print((" ".join(dq)))