#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	cin>>n; 
	while(1<=n){
		cout<<n<<endl;
		n--; 
	}
return 0;

}

/**************************************************************
	Problem: 1697
	User: houshanglin
	Language: C++
	Result: Accepted
	Time:9 ms
	Memory:2072 kb
****************************************************************/