K = int(input())

end_flg = 0
for i in range(16):
    # 桁ごとに出力
    for j in range(1, 10):
        print((10 ** i - 1) + j * 10 ** i)
        end_flg += 1
        if end_flg == K:
            break
    if end_flg == K:
        break