K = int(input())
i = 1
if K <= 8:
    while i <= K:
        print(i)
        i += 1
elif K > 8:
    while i <= 8:
        print(i)
        i += 1
    while 9 <= i <=K:
        a = i - 9
        sunuke = a * 10 + 9
        print(sunuke)
        i += 1