#include <iostream>
#include <vector>
using namespace std;
int main()
{
int n = 10;
vector<int> b;
b.resize(10);
for (int i=0;i<10;i++)
{
cin >> b[i];
}
for (vector<int>::reverse_iterator it = b.rbegin(); it != b.rend(); it++)
{
cout << *it << " ";
}
return 0;
}
#include <vector>
using namespace std;
int main()
{
int n = 10;
vector<int> b;
b.resize(10);
for (int i=0;i<10;i++)
{
cin >> b[i];
}
for (vector<int>::reverse_iterator it = b.rbegin(); it != b.rend(); it++)
{
cout << *it << " ";
}
return 0;
}