# -*- coding: utf-8 -*-
# 標準入力を取得
K = int(input())

# 求解処理
k = 1
while k <= K:
    snuke = 0
    if k <= 9:
        snuke = k
    else:
        snuke = 2 * 10**(k - 9) - 1
    print(snuke)
    k += 1
