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