# /user/bin/python
# -*- coding: utf-8 -*-
import sys

def solve(k):
  step, ret, mx = 1, 0, 9
  for _ in range(k):
    ret += step
    if ret >= mx:
      step *= 10
      mx = mx*10 + 9
    print(ret)

k = int(input())
solve(k)