def abc101_d():
    k = int(input())
    snuke_nums = []

    for i in range(17):
        snuke_nums.extend([n * (10 ** i) - 1 for n in range(2, 11)])

    for i in range(k):
        print(snuke_nums[i])


abc101_d()