#include <iostream>
using namespace std;
typedef int datatype;
int main()
{
int i,n,j;
cout << "please input LA length:";
cin >> n;
datatype a[n] = {0};
datatype t;
for (i = 0;i < n;i++)
cin >> a[i];
for (i = 0,j = n-1;i < j;i++,j--)
{
t = a[j];
a[j] = a[i];
a[i] = t;
}
for (i = 0;i < n;i++)
cout << a[i]<<" ";
}