def S(n: int) -> int:
    """n を十進法で表した時の各桁のあたいの総和
    :param n: 任意の正の整数
    :return: 十進法の各桁の和
    """
    s = 0
    while n > 0:
        s += n % 10
        n //= 10
    return s


if __name__ == "__main__":
    K = int(input())
    i = 1
    step = 1
    for _ in range(K):
        if i == 10:
            i = 1
            step *= 10
        print((i + 1) * step - 1)
        i += 1
