#include"stdio.h"
#define N_MAX 2e5
#define A_MAX 1e9
int main()
{
	int n,temp = 0;
	scanf("%d",&n);
	int b[n];
	if(n>=1&&n<=N_MAX)
	{
		for(int i = 0;i<n;i++)
		{
			scanf("%d",&b[i]);
			if(b[i]>A_MAX)
				break;
			for(int n = 0,k = i;n<=i/2;n++)
			{
				temp = b[k-n];
 				b[k-n] = b[n];
				b[n] = temp;
			}
		}
		for(int i = 0;i<sizeof(b)/4;i++)
			printf("%d ",b[i]);
	}
	return 0;
}
 