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

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