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