while True:
    try:
        n = int(input())
        s = list(map(int,input().split()))
        for i in s[::-1]:
            print(i,end=' ')
    except:
        break