include<iostream>
include<vector>
include<algorithm>
using namespace std;
int main()
{
int n;
cin>>n;
vector<int> v;
int m;
for(int i=0; i<n; i++)
{
cin>>m;
v.push_back(m);
}
reverse(v.begin(),v.end());
for(vector<int>::iterator it=v.begin(); it!=v.end(); it++)
{
cout<<*it<<" ";
}
return 0;
}
网友评论