#include<iostream>
using namespace std;
int main(){
int N;
cin >> N;
for ( int i=N; i>=1; i--){
cout << i << "\n";
}
return 0;
}
#include<iostream>
using namespace std;
int main(){
int N;
cin >> N;
for ( int i=N; i>=1; i--){
cout << i << "\n";
}
return 0;
}