n = input()
l = list(map(int, input().split()))
l.reverse()
l = map(str, l)
l = ' '.join(l)
print(l)

e5291c1532722d0ad05f22bb93b3e20ef46ddb8b
<mask token>

<mask token>
l.reverse()
<mask token>
print(l)

n = input()
l = list(map(int, input().split()))
l.reverse()
l = map(str, l)
l = ' '.join(l)
print(l)
