#include<cstdio>

long k;

int main() {
    scanf("%ld", &k);
    
    long ans = 0;
    for (long i = 0, j = 1; i < k; i++) {
        long x = ans + j;
        int y = 0;
        while (x > 0) {
            y += (x % 10);
            x /= 10;
        }
        if (y * j < ans + j) j *= 10;
        ans += j;
        printf("%ld\n", ans);
    }

    return 0;
}
