if __name__ == '__main__':

    data_num = int(eval(input()))

    data = [x for x in input().split(' ')]

    assert data_num == len(data), "invalid input"



    data.reverse()

    output = ' '.join(data)



    print(output)
# -*- coding: utf-8 -*-

"""

http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A&lang=jp



"""

import sys

from sys import stdin

input = stdin.readline





def main(args):

    n = int(eval(input()))

    numbers = [int(x) for x in input().split()]

    numbers.reverse()

    print((*numbers))





if __name__ == '__main__':

    main(sys.argv[1:])

    
if __name__ == "__main__":
    data_num = int(eval(input()))
    data = [x for x in input().split(" ")]
    assert data_num == len(data), "invalid input"
    data.reverse()
    output = " ".join(data)
    print(output)

# -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A&lang=jp
"""
import sys
from sys import stdin

input = stdin.readline


def main(args):
    n = int(eval(input()))
    numbers = [int(x) for x in input().split()]
    numbers.reverse()
    print((*numbers))


if __name__ == "__main__":
    main(sys.argv[1:])

+# -*- coding: utf-8 -*- +""" +http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A&lang=jp +""" +import sys +from sys import stdin + +input = stdin.readline + + +def main(args): +    n = int(eval(input())) +    numbers = [int(x) for x in input().split()] +    numbers.reverse() +    print((*numbers)) + + -    data_num = int(eval(input())) -    data = [x for x in input().split(" ")] -    assert data_num == len(data), "invalid input" -    data.reverse() -    output = " ".join(data) -    print(output) +    main(sys.argv[1:])