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