import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

T read(T)() { return readln.chomp.to!T; }
T[] reads(T)() { return readln.split.to!(T[]); }
alias readint = read!int;
alias readints = reads!int;

long calc(long n) {
    long x = n / 9;
    long m = n % 9;
    return (m + 1) * 10L ^^ x - 1;
}

void main() {
    int k = readint;
    for (int i = 1; i <= k; i++) {
        writeln(calc(i));
    }
}
