#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

int main()
{
    int n;
    vector<unsigned int> a,b;
    cin >> n;
    for(int i=0;i<n;++i)
    {
        unsigned int t;
        cin >> t;
        b.push_back(t);
        reverse(b.begin(),b.end());
    }
    for(int i=0;i<n;++i)
    {
        cout << b[i] << ' ';
    }


	return 0;
}
