k = int(input())
if k <= 9:
    for i in range(1, k+1):
        print(i)
else:
    sunuke = [x for x in range(1, 10)]

    sunuke.extend(map(lambda x: int(str(x) + '9'), range(1, k)))

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