K = int(input())

a = [1,2,3,4,5,6,7,8,9,19,29,39,49,59,69,79,89,99]
v = 99
i = 18
if K > 18:
    while i < K:
        v += 100
        a.append(v)
        i += 1
    for i in a:
        print(i)
else:
    for i in a:
        print(i)