n = int(eval(input()))

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

#b = []

#for ai in a:

#  b.append(str(ai))

#  b = list(reversed(b))

#print(' '.join(b))

if len(a) % 2 == 0:

  even = []

  odd = []

  for i, ai in enumerate(a):

    if (i + 1) % 2 == 0:

      even.append(str(ai))

    else:

      odd.append(str(ai))



  r = list(reversed(even))

  answer = r + odd

  print((' '.join(answer)))

else:

  even = []

  odd = []

  for i, ai in enumerate(a):

    if (i + 1) % 2 == 0:

      even.append(str(ai))

    else:

      odd.append(str(ai))

  r = list(reversed(odd))

  answer = r + even

  print((' '.join(answer)))
def main():

  n = int(eval(input()))

  a = list(input_list_str())

  index = n - 1

  ans = [a[index]]

  

  is_add = False

  for i in range(n-1):

    if is_add:

      index += 2

    else:

      index -= 2

    if index < 0:

      index = 0

      is_add = True

      

    ans.append(a[index])

    

    if index == 0 and is_add is False:

      index = -1

      is_add = True

    

      

  print((' '.join(ans)))





def input_list():

  return list(map(int, input().split()))



def input_list_str():

  return list(map(str, input().split()))



def lcm_base(x, y):

    return (x * y) // fractions.gcd(x, y)



def lcm_list(numbers):

    return reduce(lcm_base, numbers, 1)



def gcd(*numbers):

    return reduce(fractions.gcd, numbers)



def gcd_list(numbers):

    return reduce(fractions.gcd, numbers)



import math

import fractions

from functools import reduce

main()
n = int(eval(input()))
a = list(map(int, input().split()))
# b = []
# for ai in a:
#  b.append(str(ai))
#  b = list(reversed(b))
# print(' '.join(b))
if len(a) % 2 == 0:
    even = []
    odd = []
    for i, ai in enumerate(a):
        if (i + 1) % 2 == 0:
            even.append(str(ai))
        else:
            odd.append(str(ai))
    r = list(reversed(even))
    answer = r + odd
    print((" ".join(answer)))
else:
    even = []
    odd = []
    for i, ai in enumerate(a):
        if (i + 1) % 2 == 0:
            even.append(str(ai))
        else:
            odd.append(str(ai))
    r = list(reversed(odd))
    answer = r + even
    print((" ".join(answer)))

def main():
    n = int(eval(input()))
    a = list(input_list_str())
    index = n - 1
    ans = [a[index]]
    is_add = False
    for i in range(n - 1):
        if is_add:
            index += 2
        else:
            index -= 2
        if index < 0:
            index = 0
            is_add = True
        ans.append(a[index])
        if index == 0 and is_add is False:
            index = -1
            is_add = True
    print((" ".join(ans)))


def input_list():
    return list(map(int, input().split()))


def input_list_str():
    return list(map(str, input().split()))


def lcm_base(x, y):
    return (x * y) // fractions.gcd(x, y)


def lcm_list(numbers):
    return reduce(lcm_base, numbers, 1)


def gcd(*numbers):
    return reduce(fractions.gcd, numbers)


def gcd_list(numbers):
    return reduce(fractions.gcd, numbers)


import math
import fractions
from functools import reduce

main()

-n = int(eval(input())) -a = list(map(int, input().split())) -# b = [] -# for ai in a: -#  b.append(str(ai)) -#  b = list(reversed(b)) -# print(' '.join(b)) -if len(a) % 2 == 0: -    even = [] -    odd = [] -    for i, ai in enumerate(a): -        if (i + 1) % 2 == 0: -            even.append(str(ai)) +def main(): +    n = int(eval(input())) +    a = list(input_list_str()) +    index = n - 1 +    ans = [a[index]] +    is_add = False +    for i in range(n - 1): +        if is_add: +            index += 2 -            odd.append(str(ai)) -    r = list(reversed(even)) -    answer = r + odd -    print((" ".join(answer))) -else: -    even = [] -    odd = [] -    for i, ai in enumerate(a): -        if (i + 1) % 2 == 0: -            even.append(str(ai)) -        else: -            odd.append(str(ai)) -    r = list(reversed(odd)) -    answer = r + even -    print((" ".join(answer))) +            index -= 2 +        if index < 0: +            index = 0 +            is_add = True +        ans.append(a[index]) +        if index == 0 and is_add is False: +            index = -1 +            is_add = True +    print((" ".join(ans))) + + +def input_list(): +    return list(map(int, input().split())) + + +def input_list_str(): +    return list(map(str, input().split())) + + +def lcm_base(x, y): +    return (x * y) // fractions.gcd(x, y) + + +def lcm_list(numbers): +    return reduce(lcm_base, numbers, 1) + + +def gcd(*numbers): +    return reduce(fractions.gcd, numbers) + + +def gcd_list(numbers): +    return reduce(fractions.gcd, numbers) + + +import math +import fractions +from functools import reduce + +main()