#!/usr/bin/env python3
import sys

def S(n):
    res = 0
    while n > 0:
        res += (n%10)
        n //= 10
    return res

def f(n):
    return n / S(n)

def solve(K: int):

    if K < 10:
        for i in range(1,K+1):
            print(i)
    else:
        k = K
        k -= 9
        for i in range(1,10):
            print(i)

        c = 19
        while k > 0:
            print(c)
            c += 10
            k -= 1




    return


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    K = int(next(tokens))  # type: int
    solve(K)

if __name__ == '__main__':
    main()
