K = int(input())

if(K<10):
    for i in range(K):
        print(i+1)
else:
    cnt = 0
    sunuke = 19
    # 1~9
    for i in range(1,10):
        print(i)
    # 19~K
    while cnt != K-9:
        print(sunuke)
        sunuke += 10
        cnt += 1