#include<iostream>
using namespace std;
int main()
{
int a[10] = { 0};
for (int i = 0; i < 10; i++)
{
cin >> a[i];
}
for (int i = 9; i > -1; i--)
{
cout << a[i] << " ";
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int a[10] = { 0};
for (int i = 0; i < 10; i++)
{
cin >> a[i];
}
for (int i = 9; i > -1; i--)
{
cout << a[i] << " ";
}
return 0;
}