import java.io.{InputStream, OutputStream, PrintStream}
import java.util.Scanner

object Main {

  def main(args: Array[String]): Unit = {
    val solver = new Solver(System.in, System.out)
    solver.solve()
  }

  class Solver(in: InputStream, out: OutputStream) {
    lazy val input = new Scanner(in)

    lazy val output = new PrintStream(out)

    def solve(): Unit = {
      val n = input.nextLine().toInt
      createSnukeNumbers(n).foreach(output.println)
    }

    def createSnukeNumbers(n: Int): Iterator[String] =
      Iterator.tabulate(n) { idx =>
        val i = idx + 1
        if (i < 10) {
          i.toString
        } else {
          "1" + "9" * (i - 9)
        }
      }

    def checkSnukeCond(n: Long, m: Long): Boolean = {
      val sn     = sumOfDigit(n)
      val sm     = sumOfDigit(m)
      val result = n / sn <= m / sm
      result
    }

    def sumOfDigit(n: Long): Int =
      n.toString.split("").map(_.toInt).sum
  }

}
