package main

import (
	"fmt"
)

func main() {
	var K int
	fmt.Scanf("%d", &K)
	i := 1
	for ; i < K+1 && i < 10; i++ {
		fmt.Printf("%d\n", i)
	}

	for ; i < K+1; i++ {
		fmt.Printf("%d\n", 10*(i-9)+9)
	}
	return
}
