import strutils

let
  K = stdin.readLine.parseInt
var
  i, j = 0
  str, str2 = ""

while i < K:
  i += 1
  j += 1
  if j == 10:
    j = 1
    str.add "9"
  str2 &= $j & str & "\n"

stdout.write str2
