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