#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin>>n;
	int i=n;
	while(i>0){
		cout<<i<<endl;
		i--; 
	} 
	return 0;
} 
/**************************************************************
	Problem: 1697
	User: fuhoubin
	Language: C++
	Result: Accepted
	Time:19 ms
	Memory:2072 kb
****************************************************************/