// Package main provides
//
// File:  d.go
// Author: ymiyamoto
//
// Created on Wed Aug  8 01:41:23 2018
//
package main

import (
	"fmt"
)

var K int

func main() {
	fmt.Scan(&K)

	i := 1
	pre := 1
	for i <= K {
		if i <= 9 {
			fmt.Println(i)
		} else {
			fmt.Printf("%d9\n", pre)
			pre++
		}
		i++
	}
}
