#include<stdio.h>
int main(){
    int row;
    scanf("%d",&row);
    if(row<0){
        printf("Invalid input");
    }
    else{
        for(i=1;i<=row;i++){
            printf("%d",i);
        }
    }
}