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