using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            long a = long.Parse(Console.ReadLine());
            string buf = "";
            int ind = 10 <  a ? 10 : (int)a;
            for (int i = 1; i < ind; i++)
            {
                Console.WriteLine(i);
            }
            long c = 19;
            for (long i = 0; i < a - 9; i++)
            {
                Console.WriteLine(c + 10 * i);
            }

        }
    }
}