using System;

namespace D
{
    class Program
    {
        static void Main(string[] args) {

            long K = long.Parse(Console.ReadLine());
            ;
            int count = 0;
            int i = 1;
            while(count < K) {
                Console.WriteLine(i);
                count++;

                i += i < 9 ? 1 : 10;
            }
        }
    }
}
