N = int(input())
X = list(map(int,input().split()))
mm = [X.pop() for i in range(0,len(X))]

def resort(n,x):
    if len(x)-n < n-1:
        x[len(x)-n],x[n-1] = x[n-1],x[len(x)-n]
        resort(n-1,x)
    return x

print(" ".join(map(str,resort(N,mm))))