fun main(args: Array<String>) {
    val k = readLine()!!.toLong()
    for (i in 1..9) {
        println(i)
    }
    if (k >= 10L) {
        for (i in 1L..(k - 9L)) {
            println(i * 10L + 9L)
        }
    }
}