using System;

namespace AtCoder
{
    class Program
    {
        static void Main(string[] args)
        {
            int A = int.Parse(Console.ReadLine());

            int counter = 1;
            int counter2 = 0;

            for(int i=0;i<A;i++)
            {
                Console.Write(counter.ToString());
                for(int j=0;j<counter2;j++)
                {
                    Console.Write("9");
                }
                Console.WriteLine("");

                if (counter == 9)
                {
                    counter = 1;
                    counter2++;
                }
                else
                    counter++;
            }
        }
    }
}
