using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;

class Program
{
    static void Main()
    {
        var K = long.Parse(ReadLine());


        for (int i = 1; i < 10; i++)
        {
            if (K<i) return;
            WriteLine(i);
        }
        var n = 1L;
        var c = 0L;
        while (c != K-9)
        {
            WriteLine(n * 10 + 9);
            n++;
            c++;
        }

    }
}