# -*- coding: utf-8 -*-
# 
import math
import sys
import itertools
import numpy as np

k =int(input())


for i in range(1,k+1):
    j = (i-1) // 9
    k = i - 9 * j
    p = k 
    for ii in range(j):
        p = p * 10 + 9
    print(p)
