def S(n):
    ans = 0
    for s in str(n):
        ans += int(s)
    return ans

K = int(input())

for i in range(1, K + 1):
    if i >= 10:
        print(19 + 10 * (i - 10))
    else:
        print(i)
