#!/usr/bin/env python
# coding: utf-8
#


def main(k):
    counter = 0
    val = 1
    step_val = 1
    while counter < k:
        # 出力
        print(val)
        # 桁数を確認
        order = len(str(val))
        # 最上位数値(most significant numとする)を確認
        msn = (val - (val % (10 ** (order - 1)))) / (10 ** (order - 1))
        # print('msn: ', msn)
        # 次に進む
        if msn == 9:
            step_val *= 10
        val += step_val
        counter += 1
        

if __name__ == '__main__':
    try:
        k = int(input().strip())
        main(k)
    except EOFError:
        pass
