using System;
using System.Linq;
class Program
{
    static void Main(string[] args)
    {
        var K = int.Parse(Console.ReadLine());
        var first = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
        if (K <= 9)
        {
            for (int i = 0; i < K; i++)
            {
                Console.WriteLine("{0}\n", first[i]);
            }
        }
        else
        {
            Console.WriteLine(string.Join("\n", first));
            for (int i = 0; i < K-9; i++)
            {
                Console.WriteLine(10 * i + 19);
            }
        }
    }
}