def main():
    """
    1 <= K
    sunuke_K <= 10^15

    すぬけ数
        m > n
        n / S(n) <= m / S(m)

    s(n) >
    """
    K = int(input())

    #answers = editorial(K)
    answers = ex(K)
    for ans in answers:
        print(ans)


def ex(K):
    base = 1
    answers = []
    x = 0
    while len(answers) < K:
        if len(str(x)) != len(str(x + base)):
            base *= 10
        x += base
        answers.append(x)

    return answers


if __name__ == '__main__':
    main()
