include [HTML_REMOVED]
using namespace std;
void reverse(int a[], int size)
{
for(int i=0,j=size-1;i<j;i++,j–)
{
swap(a[i],a[j]);
}
}
int main()
{
int n,size;
cin>>n>>size;
int a[n];
for(int i=0; i[HTML_REMOVED]>a[i];
}
reverse(a,size);
for(int i = 0; i< n; i++){
cout << a[i]<<' ';
}
cout << endl;
return 0;
}