N = int(input())

def S(n: int):
    str_n = list(str(n))
    num = 0
    for s in str_n:
        num += int(s)
    return num

def sunuke(n: int):
    Sn = S(n)
    return n / Sn

if N < 9:
    for i in range(N):
        print(i+1)
else:
    for i in range(9):
        print(i+1)
    i = 0
    while i + 10 <= N:
        print(9 + 10*(i+1))
        i += 1

