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