K = int(input())
now = 1
while K > 0:
    if now < 10:
        print(now)
        K -= 1
        if now == 9:
            now += 10
        else:
            now += 1
    else:
        print(now)
        K -= 1
        now += 10