using System;

namespace AtTest
{
    class Program
    {
        static void Main(string[] args)
        {
            int k = int.Parse(Console.ReadLine());
            long now = 0;
            long delta = 1;
            for (int i = 0; i < k; i++)
            {
                now += delta;
                Console.WriteLine(now);
                if (now == delta * 10 - 1)
                {
                    delta *= 10;
                }
            }
            Console.ReadLine();
        }
    }
}
