90%...

def myprint(l):
    return l[-1] + ' ' + myprint(l[:-1]) if l else ''
input()
l = input().split()
print(myprint(l))