#include <cstdio>
//#include <iostream>
//#include <string>

using namespace std;

// cl /EHsc xxx.cpp
int main(int argc, char *argv[])
{
	int n;
	scanf("%d", &n);
	
	int *ary = new int[n];
	
	int v;
	int t = n;
	while (t)
	{
		scanf("%d", &v);
		ary[--t] = v;
	}
	
	for (int j = 0; j < n; j++)
	{
		printf((j == n-1) ? "%d\n" : "%d ", ary[j]);
	}
	
	delete[] ary;
	
	return 0;
}
#include <iostream>

int main(int argc, char** argv)
{
	int n;
	std::cin >> n;

	int a[100];
	for (int i = 0; i < n; ++i)
	{ 
		std::cin >> a[i];
	}

	for (int i = n - 1; i > 0; --i)
	{
		std::cout << a[i] << " ";
	}

	std::cout << a[0] << std::endl;
}
