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



return 0;}

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