# -*- coding: utf-8 -*-
"""
D - Snuke Numbers
https://beta.atcoder.jp/contests/abc101/tasks/arc099_b

"""
import sys
from sys import stdin
input = stdin.readline


Snuke = [1, 2, 3, 4, 5, 6, 7, 8, 9]
nine = 1
while True:
    tmp = Snuke[-9:]
    for i in tmp:
        t = int(str(i) + '9'*nine)
        Snuke.append(t)
    nine += 1
    if Snuke[-1] > 10**15:
        break



def solve(K):
    return Snuke[:K]


def main(args):
    K = int(input())
    ans = solve(K)
    print(*ans, sep='\n')


if __name__ == '__main__':
    main(sys.argv[1:])
