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







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