#include<stdio.h>
#include<string.h>

long k;

void sunke(){
    long i,j,l;
    i = 0;
    j = 0;
    l = 9;
    while(i < k){
        if(i < 9){
            j++;
            printf("%ld\n", j);
        }else if(i >= 9 && i < 99999999999990){
            l += 10;
            printf("%ld\n", l);
        }else if(i >= 99999999999990){
            break;
        }
        i++;
    }
}


int main(void){
    scanf("%ld", &k);
    while(k < 1){
        scanf("%ld", &k);
        if(k > 0){
            break;
        }
    }
    sunke(k);
    return 0;
}