#include <iostream>
using namespace std;
int main(){
	int n, a[150];
	cin >> n;
	for (int i = 0; i < n; i++)
		cin >> a[i];
	for (int i = 0; i < n - 1; i++)
		cout << a[n - i - 1] << " ";
		cout << a[0];
		cout << endl;

	return 0;
}

//Bismillahir Rahmanir Rahim
#include<bits/stdc++.h>
using namespace std;
#define ios ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL)
#define ll long long
#define endl '\n'
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
bool sortbysec(const pair<ll,ll>&a,const pair<ll,ll>&b)
{
    return (a.second<b.second);
}
int main()
{
    ios;
    int k,x;
    cin>>k>>x;
    k--;
    for(int i=x-k;i<=x+k;i++)
        cout<<i<<" ";
    cout<<endl;



}
//Alhamdulillah






